Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -43,6 +43,8 @@ def respond(
|
|
| 43 |
|
| 44 |
response += token
|
| 45 |
yield response
|
|
|
|
|
|
|
| 46 |
|
| 47 |
demo = gr.ChatInterface(
|
| 48 |
respond,
|
|
@@ -60,6 +62,7 @@ demo = gr.ChatInterface(
|
|
| 60 |
|
| 61 |
],
|
| 62 |
fill_height=True,
|
|
|
|
| 63 |
theme="Nymbo/Alyx_Theme",
|
| 64 |
)
|
| 65 |
if __name__ == "__main__":
|
|
|
|
| 43 |
|
| 44 |
response += token
|
| 45 |
yield response
|
| 46 |
+
|
| 47 |
+
chatbot = gr.Chatbot(height=600)
|
| 48 |
|
| 49 |
demo = gr.ChatInterface(
|
| 50 |
respond,
|
|
|
|
| 62 |
|
| 63 |
],
|
| 64 |
fill_height=True,
|
| 65 |
+
chatbot=chatbot
|
| 66 |
theme="Nymbo/Alyx_Theme",
|
| 67 |
)
|
| 68 |
if __name__ == "__main__":
|