woodmastr commited on
Commit
e05a7cc
1 Parent(s): 3c40783

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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'] + models_dict['text2text-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