changed into chatbot
Browse files
app.py
CHANGED
|
@@ -20,6 +20,7 @@ def respond(message, history):
|
|
| 20 |
return response['choices'][0]['message']['content'].strip()
|
| 21 |
|
| 22 |
|
|
|
|
| 23 |
chatbot = gr.ChatInterface(respond, type = "messages", title = "Friendly chatbot") #chatbot ui - conversation history and user input
|
| 24 |
chatbot.launch()
|
| 25 |
|
|
|
|
| 20 |
return response['choices'][0]['message']['content'].strip()
|
| 21 |
|
| 22 |
|
| 23 |
+
|
| 24 |
chatbot = gr.ChatInterface(respond, type = "messages", title = "Friendly chatbot") #chatbot ui - conversation history and user input
|
| 25 |
chatbot.launch()
|
| 26 |
|