Spaces:
Runtime error
Runtime error
Update chat.py
Browse files
chat.py
CHANGED
@@ -37,4 +37,8 @@ def predict(message, history):
|
|
37 |
partial_message = partial_message + chunk.choices[0].delta.content
|
38 |
yield partial_message
|
39 |
|
40 |
-
chat=gr.ChatInterface(
|
|
|
|
|
|
|
|
|
|
37 |
partial_message = partial_message + chunk.choices[0].delta.content
|
38 |
yield partial_message
|
39 |
|
40 |
+
chat=gr.ChatInterface(
|
41 |
+
predict,
|
42 |
+
fill_height=True,
|
43 |
+
chatbot=gr.Chatbot(height=500,bubble_full_width=False,),
|
44 |
+
)
|