Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -232,7 +232,7 @@ def create_assistant_file(prompt, file):
|
|
232 |
def create_assistant_suche(prompt):
|
233 |
global client
|
234 |
#neues File dem Assistant hinzufügen
|
235 |
-
assistant_suche =openai_assistant_suche(client,
|
236 |
thread_suche, run = create_thread_and_run(prompt, client, assistant_suche.id)
|
237 |
run = wait_on_run(run, thread_suche, client)
|
238 |
response = get_response(thread_suche, client, assistant_suche.id)
|
|
|
232 |
def create_assistant_suche(prompt):
|
233 |
global client
|
234 |
#neues File dem Assistant hinzufügen
|
235 |
+
assistant_suche =openai_assistant_suche(client, prompt)
|
236 |
thread_suche, run = create_thread_and_run(prompt, client, assistant_suche.id)
|
237 |
run = wait_on_run(run, thread_suche, client)
|
238 |
response = get_response(thread_suche, client, assistant_suche.id)
|