bstraehle commited on
Commit
0231016
·
verified ·
1 Parent(s): a6aeefa

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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)