Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -117,7 +117,7 @@ def predict(message, history):
|
|
117 |
return gpt_response.content
|
118 |
|
119 |
# Using ChatInterface to create a chat-style UI
|
120 |
-
demo = gr.
|
121 |
|
122 |
if __name__ == "__main__":
|
123 |
demo.launch()
|
|
|
117 |
return gpt_response.content
|
118 |
|
119 |
# Using ChatInterface to create a chat-style UI
|
120 |
+
demo = gr.Interface(fn=predict, type="messages")
|
121 |
|
122 |
if __name__ == "__main__":
|
123 |
demo.launch()
|