Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def respond(message, history):
|
|
| 15 |
messages,
|
| 16 |
max_tokens=100
|
| 17 |
)
|
| 18 |
-
return response.choices[0].message.content.strip()
|
| 19 |
|
| 20 |
chatbot=gr.ChatInterface(respond, title="Capstone Chatbot")
|
| 21 |
chatbot.launch()
|
|
|
|
| 15 |
messages,
|
| 16 |
max_tokens=100
|
| 17 |
)
|
| 18 |
+
return response.choices[0].message.content.strip()
|
| 19 |
|
| 20 |
chatbot=gr.ChatInterface(respond, title="Capstone Chatbot")
|
| 21 |
chatbot.launch()
|