Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ HUGGINGFACE_TOKEN = os.environ.get("HUGGINGFACE_TOKEN")
|
|
11 |
def loop_query_data():
|
12 |
global all_models
|
13 |
models_dict = InferenceClient(token=HUGGINGFACE_TOKEN).list_deployed_models("text-generation-inference")
|
14 |
-
models = models_dict['text-generation']
|
15 |
models_vision = models_dict['image-text-to-text']
|
16 |
models_others = InferenceClient(token=HUGGINGFACE_TOKEN).list_deployed_models(frameworks="all")["text-generation"]
|
17 |
|
|
|
11 |
def loop_query_data():
|
12 |
global all_models
|
13 |
models_dict = InferenceClient(token=HUGGINGFACE_TOKEN).list_deployed_models("text-generation-inference")
|
14 |
+
models = models_dict['text-generation']
|
15 |
models_vision = models_dict['image-text-to-text']
|
16 |
models_others = InferenceClient(token=HUGGINGFACE_TOKEN).list_deployed_models(frameworks="all")["text-generation"]
|
17 |
|