Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -116,16 +116,16 @@ with gr.Blocks() as demo:
|
|
| 116 |
fn=add_text,
|
| 117 |
inputs=[chatbot, txt],
|
| 118 |
outputs=[chatbot],
|
| 119 |
-
queue=False
|
| 120 |
-
).success(
|
| 121 |
-
|
| 122 |
-
|
| 123 |
-
|
| 124 |
-
|
| 125 |
-
|
| 126 |
-
|
| 127 |
-
|
| 128 |
-
|
| 129 |
demo.queue()
|
| 130 |
if __name__ == "__main__":
|
| 131 |
demo.launch()
|
|
|
|
| 116 |
fn=add_text,
|
| 117 |
inputs=[chatbot, txt],
|
| 118 |
outputs=[chatbot],
|
| 119 |
+
queue=False)
|
| 120 |
+
# ).success(
|
| 121 |
+
# fn=generate_response,
|
| 122 |
+
# inputs=[chatbot, txt, btn],
|
| 123 |
+
# outputs=[chatbot, txt]
|
| 124 |
+
# ).success(
|
| 125 |
+
# fn=render_file,
|
| 126 |
+
# inputs=[btn],
|
| 127 |
+
# outputs=[show_img]
|
| 128 |
+
# )
|
| 129 |
demo.queue()
|
| 130 |
if __name__ == "__main__":
|
| 131 |
demo.launch()
|