Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def respond(message, history):
|
|
| 15 |
if history:
|
| 16 |
messages.extend(history)
|
| 17 |
|
| 18 |
-
response = client.chat_completion(messages, max_tokens=100
|
| 19 |
|
| 20 |
chatbot = gr.ChatInterface(respond, type="messages")
|
| 21 |
chatbot.launch
|
|
|
|
| 15 |
if history:
|
| 16 |
messages.extend(history)
|
| 17 |
|
| 18 |
+
response = client.chat_completion(messages, max_tokens=100)
|
| 19 |
|
| 20 |
chatbot = gr.ChatInterface(respond, type="messages")
|
| 21 |
chatbot.launch
|