Spaces:
Runtime error
Runtime error
Commit
·
3f9f907
1
Parent(s):
cd41390
tidy
Browse files
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.
|
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()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|