Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,8 @@ def chat(message, history):
|
|
55 |
|
56 |
#history_openai_format.append({"role": "user", "content": message})
|
57 |
|
58 |
-
if len(history_openai_format) == 1:
|
|
|
59 |
init_assistant()
|
60 |
|
61 |
#show_json("assistant", _assistant)
|
|
|
55 |
|
56 |
#history_openai_format.append({"role": "user", "content": message})
|
57 |
|
58 |
+
#if len(history_openai_format) == 1:
|
59 |
+
if _client == None:
|
60 |
init_assistant()
|
61 |
|
62 |
#show_json("assistant", _assistant)
|