bstraehle commited on
Commit
37fa698
1 Parent(s): 67cab5d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -38,10 +38,12 @@ def chat(message, history, openai_api_key):
38
 
39
  global openai_client, assistant, thread
40
 
41
- print("openai_client="+openai_client)
 
42
  if openai_client == None:
43
  openai_client = OpenAI(api_key=openai_api_key)
44
- print("openai_client="+openai_client)
 
45
 
46
  # On first run, create assistant and update assistant_id,
47
  # see https://platform.openai.com/playground/assistants.
 
38
 
39
  global openai_client, assistant, thread
40
 
41
+ print("openai_client=")
42
+ print(openai_client)
43
  if openai_client == None:
44
  openai_client = OpenAI(api_key=openai_api_key)
45
+ print("openai_client=")
46
+ print(openai_client)
47
 
48
  # On first run, create assistant and update assistant_id,
49
  # see https://platform.openai.com/playground/assistants.