Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ with gr.Blocks() as demo1:
|
|
134 |
|
135 |
with gr.Blocks() as demo2:
|
136 |
chatbot = gr.Chatbot(type="messages", height=500, show_copy_button=True)
|
137 |
-
|
138 |
|
139 |
|
140 |
demo_tabbed = gr.TabbedInterface([demo1, demo2], ["First tab", "Second tab"])
|
|
|
134 |
|
135 |
with gr.Blocks() as demo2:
|
136 |
chatbot = gr.Chatbot(type="messages", height=500, show_copy_button=True)
|
137 |
+
demo2.load(generate_response, chatbot, chatbot)
|
138 |
|
139 |
|
140 |
demo_tabbed = gr.TabbedInterface([demo1, demo2], ["First tab", "Second tab"])
|