umair894 commited on
Commit
9b109b9
1 Parent(s): 40b11ef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -4,10 +4,10 @@ from openai import OpenAI
4
  import os
5
  #sk
6
  apikey = os.getenv('openAI') #key from client
7
- agentkey = os.getenv('asst')
8
- os.environ["OPENAI_API_KEY"] =
9
 
10
- interpreter_assistant = OpenAIAssistantRunnable(assistant_id=) #, client = key
11
  # output = interpreter_assistant.invoke({"content": "Hello?"})
12
  # output[0].content[0].text.value
13
 
 
4
  import os
5
  #sk
6
  apikey = os.getenv('openAI') #key from client
7
+ agentkey = os.getenv('asstID')
8
+ os.environ["OPENAI_API_KEY"] = apikey
9
 
10
+ interpreter_assistant = OpenAIAssistantRunnable(assistant_id= agentkey) #, client = key
11
  # output = interpreter_assistant.invoke({"content": "Hello?"})
12
  # output[0].content[0].text.value
13