Spaces:
Runtime error
Runtime error
Commit ·
199d46c
1
Parent(s): f465d93
Update app.py
Browse files
app.py
CHANGED
|
@@ -126,7 +126,7 @@ with gr.Blocks(theme=seafoam, analytics_enabled=False, css=css) as demo:
|
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
-
submit.click(
|
| 130 |
-
instruction.submit(
|
| 131 |
|
| 132 |
demo.queue(concurrency_count=1).launch(debug=False)
|
|
|
|
| 126 |
|
| 127 |
|
| 128 |
|
| 129 |
+
submit.click(response, inputs=[instruction], outputs=[output])
|
| 130 |
+
instruction.submit(response, inputs=[instruction], outputs=[output])
|
| 131 |
|
| 132 |
demo.queue(concurrency_count=1).launch(debug=False)
|