davanstrien HF Staff commited on
Commit
3f9f907
·
1 Parent(s): cd41390
Files changed (1) hide show
  1. app.py +1 -24
app.py CHANGED
@@ -532,7 +532,7 @@ with gr.Blocks() as demo:
532
  gr.Markdown("# 🤗 Hub model search with metadata quality filters")
533
  gr.Markdown(
534
  """This search tool relies on the full-text search API.
535
- Your search is passed to this API and the returned models are assessed for metadata quality. See the next tab in the app for more info on how this is calculated.
536
  If you don't specify any minimum requirements you will get back your results with metadata quality info
537
  for each result. The results are ordered by:
538
 
@@ -578,27 +578,4 @@ with gr.Blocks() as demo:
578
  # ```
579
  # """
580
  # )
581
-
582
  demo.launch()
583
-
584
-
585
- # with gr.Blocks() as demo:
586
- # gr.Markdown(
587
- # """
588
- # # Model Metadata Checker
589
-
590
- # This app will check your model's metadata for a few common issues."""
591
- # )
592
- # with gr.Row():
593
- # text = gr.Text(label="Model ID")
594
- # button = gr.Button(label="Check", type="submit")
595
- # with gr.Row():
596
- # gr.Markdown("Results")
597
- # markdown = gr.JSON()
598
- # button.click(_basic_check, text, markdown)
599
-
600
- # demo.queue(concurrency_count=32)
601
- # demo.launch()
602
-
603
-
604
- # gr.Interface(fn=basic_check, inputs="text", outputs="markdown").launch(debug=True)
 
532
  gr.Markdown("# 🤗 Hub model search with metadata quality filters")
533
  gr.Markdown(
534
  """This search tool relies on the full-text search API.
535
+ Your search is passed to this API and the returned models are assessed for metadata quality.
536
  If you don't specify any minimum requirements you will get back your results with metadata quality info
537
  for each result. The results are ordered by:
538
 
 
578
  # ```
579
  # """
580
  # )
 
581
  demo.launch()