Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,6 +19,6 @@ def random_response(message,history):
|
|
| 19 |
return response.choices[0].message.content.strip()
|
| 20 |
|
| 21 |
|
| 22 |
-
chatbot = gr.
|
| 23 |
|
| 24 |
chatbot.launch()
|
|
|
|
| 19 |
return response.choices[0].message.content.strip()
|
| 20 |
|
| 21 |
|
| 22 |
+
chatbot = gr.ChatInference(random_response, title = "Magic 8 Ball Chatbot")
|
| 23 |
|
| 24 |
chatbot.launch()
|