Spaces:
Sleeping
Sleeping
added respond function into chatbot
Browse files
app.py
CHANGED
@@ -18,6 +18,6 @@ def respond(message, history):
|
|
18 |
)
|
19 |
return response['choices'][0]['message']['content'].strip()
|
20 |
|
21 |
-
chatbot = gr.ChatInterface(, type = 'messages')
|
22 |
|
23 |
chatbot.launch()
|
|
|
18 |
)
|
19 |
return response['choices'][0]['message']['content'].strip()
|
20 |
|
21 |
+
chatbot = gr.ChatInterface(respond, type = 'messages')
|
22 |
|
23 |
chatbot.launch()
|