davanstrien HF Staff commited on
Commit
4419eab
·
1 Parent(s): 104a4ce
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -288,12 +288,12 @@ def basic_check(hub_id):
288
  return None
289
 
290
 
291
- print("caching models...")
292
- print("getting top 5,000 models")
293
- models = list_models(sort="downloads", direction=-1, limit=5_000)
294
- model_ids = [model.modelId for model in models]
295
- print("calculating metadata scores...")
296
- thread_map(basic_check, model_ids)
297
 
298
 
299
  gr.Interface(fn=basic_check, inputs="text", outputs="text").launch()
 
288
  return None
289
 
290
 
291
+ # print("caching models...")
292
+ # print("getting top 5,000 models")
293
+ # models = list_models(sort="downloads", direction=-1, limit=5_000)
294
+ # model_ids = [model.modelId for model in models]
295
+ # print("calculating metadata scores...")
296
+ # thread_map(basic_check, model_ids)
297
 
298
 
299
  gr.Interface(fn=basic_check, inputs="text", outputs="text").launch()