Spaces:
Runtime error
Runtime error
Commit
·
b7a1fd8
1
Parent(s):
da1b796
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,9 +127,9 @@ with gr.Blocks() as demo:
|
|
| 127 |
#name1 = gr.Textbox(label="n") #, placeholder="What is your name?")
|
| 128 |
#name2 = gr.Textbox(label="n2") #, placeholder="What is your name?")
|
| 129 |
|
| 130 |
-
|
| 131 |
-
|
| 132 |
-
run_actr()
|
| 133 |
|
| 134 |
def backup_db():
|
| 135 |
shutil.copyfile(DB_FILE, "./reviews.2db")
|
|
|
|
| 127 |
#name1 = gr.Textbox(label="n") #, placeholder="What is your name?")
|
| 128 |
#name2 = gr.Textbox(label="n2") #, placeholder="What is your name?")
|
| 129 |
|
| 130 |
+
submit2 = gr.Button(value="run")
|
| 131 |
+
submit2.click(run_actr)
|
| 132 |
+
#run_actr()
|
| 133 |
|
| 134 |
def backup_db():
|
| 135 |
shutil.copyfile(DB_FILE, "./reviews.2db")
|