Spaces:
Sleeping
Sleeping
Commit ·
b9f4649
1
Parent(s): 1bab2dc
Update demo
Browse files
app.py
CHANGED
|
@@ -137,8 +137,7 @@ chat_interface_stream = gr.ChatInterface(predict,
|
|
| 137 |
title=title,
|
| 138 |
description=description,
|
| 139 |
textbox=gr.Textbox(),
|
| 140 |
-
chatbot=
|
| 141 |
-
css=css,
|
| 142 |
examples=examples,
|
| 143 |
cache_examples=True,
|
| 144 |
additional_inputs=additional_inputs,
|
|
@@ -146,6 +145,6 @@ chat_interface_stream = gr.ChatInterface(predict,
|
|
| 146 |
|
| 147 |
# Gradio Demo
|
| 148 |
with gr.Blocks() as demo:
|
| 149 |
-
|
| 150 |
-
chat_interface.render()
|
| 151 |
|
|
|
|
|
|
| 137 |
title=title,
|
| 138 |
description=description,
|
| 139 |
textbox=gr.Textbox(),
|
| 140 |
+
chatbot=chatbot,
|
|
|
|
| 141 |
examples=examples,
|
| 142 |
cache_examples=True,
|
| 143 |
additional_inputs=additional_inputs,
|
|
|
|
| 145 |
|
| 146 |
# Gradio Demo
|
| 147 |
with gr.Blocks() as demo:
|
| 148 |
+
chat_interface.render()
|
|
|
|
| 149 |
|
| 150 |
+
demo.launch(debug=True)
|