Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -43,7 +43,7 @@ def chat_with_searchgpt(user_message, history):
|
|
43 |
|
44 |
data = json.loads(response.json())
|
45 |
|
46 |
-
history.append((user_message, data['choices'][0]['message']['content]))
|
47 |
return history, ""
|
48 |
|
49 |
# Определение интерфейса
|
|
|
43 |
|
44 |
data = json.loads(response.json())
|
45 |
|
46 |
+
history.append((user_message, data['choices'][0]['message']['content']))
|
47 |
return history, ""
|
48 |
|
49 |
# Определение интерфейса
|