i-darrshan commited on
Commit
677744a
·
verified ·
1 Parent(s): 2122da7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def count_tokens(llm_name, input_text):
18
  models = list(api.list_models(task="text-generation"))
19
 
20
  # Sort models by number of downloads or likes
21
- llm_options = models#sorted(model_details, key=lambda x: x['downloads'], reverse=True)
22
 
23
  # Define custom CSS for a bluish theme
24
  custom_css = """
 
18
  models = list(api.list_models(task="text-generation"))
19
 
20
  # Sort models by number of downloads or likes
21
+ llm_options = [model.modelId for model in models]#sorted(model_details, key=lambda x: x['downloads'], reverse=True)
22
 
23
  # Define custom CSS for a bluish theme
24
  custom_css = """