Spaces:
Runtime error
Runtime error
Commit
·
96ed08f
1
Parent(s):
105550b
Update app.py
Browse files
app.py
CHANGED
@@ -100,6 +100,8 @@ with gr.Blocks(css=css) as demo:
|
|
100 |
count = gr.Number(label="Rates!")
|
101 |
with gr.Row():
|
102 |
with gr.Column():
|
|
|
|
|
103 |
name = gr.Textbox(label="a") #, placeholder="What is your name?")
|
104 |
rate = gr.Textbox(label="b") #, placeholder="What is your name?") #gr.Radio(label="How satisfied are you with using gradio?", choices=[1, 2, 3, 4, 5])
|
105 |
celsci = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
|
@@ -132,7 +134,7 @@ def backup_db():
|
|
132 |
# #return reviews, total_reviews
|
133 |
|
134 |
scheduler2 = BackgroundScheduler()
|
135 |
-
scheduler2.add_job(func=run_actr, trigger="interval", seconds=
|
136 |
scheduler2.start()
|
137 |
|
138 |
#scheduler2 = BackgroundScheduler()
|
|
|
100 |
count = gr.Number(label="Rates!")
|
101 |
with gr.Row():
|
102 |
with gr.Column():
|
103 |
+
data = gr.Dataframe()
|
104 |
+
count = gr.Number(label="Rates!")
|
105 |
name = gr.Textbox(label="a") #, placeholder="What is your name?")
|
106 |
rate = gr.Textbox(label="b") #, placeholder="What is your name?") #gr.Radio(label="How satisfied are you with using gradio?", choices=[1, 2, 3, 4, 5])
|
107 |
celsci = gr.Textbox(label="c") #, lines=10, placeholder="Do you have any feedback on gradio?")
|
|
|
134 |
# #return reviews, total_reviews
|
135 |
|
136 |
scheduler2 = BackgroundScheduler()
|
137 |
+
scheduler2.add_job(func=run_actr, trigger="interval", seconds=30)
|
138 |
scheduler2.start()
|
139 |
|
140 |
#scheduler2 = BackgroundScheduler()
|