Spaces:
Running
Running
Update assistants.py
Browse files- assistants.py +4 -0
assistants.py
CHANGED
@@ -48,6 +48,10 @@ def set_openai_client(openai_api_key):
|
|
48 |
def set_assistant(a):
|
49 |
global assistant
|
50 |
assistant = a
|
|
|
|
|
|
|
|
|
51 |
|
52 |
def set_thread(t):
|
53 |
global thread
|
|
|
48 |
def set_assistant(a):
|
49 |
global assistant
|
50 |
assistant = a
|
51 |
+
|
52 |
+
def get_assistant():
|
53 |
+
global assistant
|
54 |
+
return assistant
|
55 |
|
56 |
def set_thread(t):
|
57 |
global thread
|