Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -37,7 +37,7 @@ st.title("Assitent-Name")
|
|
| 37 |
st.text("Beschreibung")
|
| 38 |
|
| 39 |
if "assistant" not in st.session_state:
|
| 40 |
-
openai.api_key =
|
| 41 |
# Load the previously created assistant
|
| 42 |
st.session_state.assistant = openai.beta.assistants.retrieve(assistant_id)
|
| 43 |
|
|
|
|
| 37 |
st.text("Beschreibung")
|
| 38 |
|
| 39 |
if "assistant" not in st.session_state:
|
| 40 |
+
openai.api_key = api_key
|
| 41 |
# Load the previously created assistant
|
| 42 |
st.session_state.assistant = openai.beta.assistants.retrieve(assistant_id)
|
| 43 |
|