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