Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -103,10 +103,7 @@ def refresh_models():
|
|
103 |
global embedding_models, free_embedding_models
|
104 |
|
105 |
text_models = get_all_models(FREE_MODEL_TEST_KEY, "chat")
|
106 |
-
|
107 |
-
sub_type: get_all_models(FREE_MODEL_TEST_KEY, sub_type)
|
108 |
-
for sub_type in ["embedding", "reranker"]
|
109 |
-
}
|
110 |
free_text_models = []
|
111 |
free_embedding_models = []
|
112 |
|
|
|
103 |
global embedding_models, free_embedding_models
|
104 |
|
105 |
text_models = get_all_models(FREE_MODEL_TEST_KEY, "chat")
|
106 |
+
embedding_list = get_all_models(FREE_MODEL_TEST_KEY, "embedding") + get_all_models(FREE_MODEL_TEST_KEY, "reranker")
|
|
|
|
|
|
|
107 |
free_text_models = []
|
108 |
free_embedding_models = []
|
109 |
|