Anne31415 commited on
Commit
fd14978
·
1 Parent(s): c8e6d98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -38,9 +38,9 @@ st.title("Assitent-Name")
38
  st.text("Beschreibung")
39
 
40
  if "assistant" not in st.session_state:
41
- openai.api_key = "Hier deinen OPENAI-API-KEY einfügen"
42
  # Load the previously created assistant
43
- st.session_state.assistant = openai.beta.assistants.retrieve("Hier deine ASSISTENT-ID Einfügen")
44
 
45
  # Create a new thread for this session
46
  st.session_state.thread = client.beta.threads.create(
 
38
  st.text("Beschreibung")
39
 
40
  if "assistant" not in st.session_state:
41
+ openai.api_key = api_key
42
  # Load the previously created assistant
43
+ st.session_state.assistant = openai.beta.assistants.retrieve("asst_N8zBJrqxsgDFUj7z9us0YXIc")
44
 
45
  # Create a new thread for this session
46
  st.session_state.thread = client.beta.threads.create(