Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,22 @@ import gradio as gr
|
|
14 |
|
15 |
import json, openai, os, time
|
16 |
|
17 |
-
from assistants import
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
#from datetime import date
|
19 |
#from openai import OpenAI
|
20 |
#from tavily import TavilyClient
|
|
|
14 |
|
15 |
import json, openai, os, time
|
16 |
|
17 |
+
from assistants import (
|
18 |
+
openai_client,
|
19 |
+
assistant,
|
20 |
+
thread,
|
21 |
+
create_assistant,
|
22 |
+
load_assistant,
|
23 |
+
create_thread,
|
24 |
+
create_message,
|
25 |
+
create_run,
|
26 |
+
wait_on_run,
|
27 |
+
get_run_steps,
|
28 |
+
execute_tool_calls,
|
29 |
+
get_messages,
|
30 |
+
extract_content_values,
|
31 |
+
)
|
32 |
+
|
33 |
#from datetime import date
|
34 |
#from openai import OpenAI
|
35 |
#from tavily import TavilyClient
|