Spaces:
Sleeping
Sleeping
[update]add 三国演义.txt
Browse files- .gitattributes +1 -0
- main.py +1 -1
.gitattributes
CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
36 |
+
*.txt filter=lfs diff=lfs merge=lfs -text
|
main.py
CHANGED
@@ -109,7 +109,7 @@ def click_list_assistant(openai_api_key: str) -> str:
|
|
109 |
api_key=openai_api_key,
|
110 |
)
|
111 |
assistant_list = client.beta.assistants.list()
|
112 |
-
assistant_list.model_dump(mode="json")
|
113 |
|
114 |
result = ""
|
115 |
for a in assistant_list["data"]:
|
|
|
109 |
api_key=openai_api_key,
|
110 |
)
|
111 |
assistant_list = client.beta.assistants.list()
|
112 |
+
assistant_list = assistant_list.model_dump(mode="json")
|
113 |
|
114 |
result = ""
|
115 |
for a in assistant_list["data"]:
|