Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -240,7 +240,7 @@ function forceLightTheme() {
|
|
| 240 |
}
|
| 241 |
"""
|
| 242 |
|
| 243 |
-
|
| 244 |
|
| 245 |
chat_demo_interface = gr.ChatInterface(
|
| 246 |
fn=chat,
|
|
@@ -278,4 +278,5 @@ mic_transcribe = gr.Interface(
|
|
| 278 |
outputs=gr.components.Textbox(),
|
| 279 |
)
|
| 280 |
|
| 281 |
-
chat_demo_interface.queue()
|
|
|
|
|
|
| 240 |
}
|
| 241 |
"""
|
| 242 |
|
| 243 |
+
demo = gr.Blocks()
|
| 244 |
|
| 245 |
chat_demo_interface = gr.ChatInterface(
|
| 246 |
fn=chat,
|
|
|
|
| 278 |
outputs=gr.components.Textbox(),
|
| 279 |
)
|
| 280 |
|
| 281 |
+
chat_demo_interface.queue()
|
| 282 |
+
demo.launch()
|