Spaces:
Runtime error
Runtime error
add suggestions and/or suggestions logic
Browse files
app.py
CHANGED
@@ -45,11 +45,11 @@ PROBLEMS = {
|
|
45 |
|
46 |
INIT_MARKDOWN = """
|
47 |
👈 Fill in as much data as you can...
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
👈 ... then click here!
|
54 |
"""
|
55 |
|
@@ -58,20 +58,20 @@ DEMO_MARKDOWN = """
|
|
58 |
"""
|
59 |
|
60 |
SUGGETIONS_HEADER = """
|
61 |
-
✨ Here is a list of suggestions for you ✨
|
62 |
"""
|
63 |
|
64 |
TASK_MODEL_MISMATCH = """
|
65 |
<details><summary>{count}. Select a model better suited for your task</summary>
|
66 |
-
|
67 |
-
🤔 Why
|
68 |
The selected model ("{model_name}") isn't tagged as a good fit for the task you selected ("{task_type}").
|
69 |
-
|
70 |
-
🤗 How
|
71 |
Our recommendation is to go to our [tasks page](https://huggingface.co/tasks) and select one of our suggested
|
72 |
models as a starting point.
|
73 |
-
|
74 |
-
😱 Caveats
|
75 |
The tags of a model are defined by the community and are not always accurate. If you think the model is incorrectly
|
76 |
tagged or missing a tag, please open an issue on the [model card](https://huggingface.co/{model_name}/tree/main).
|
77 |
</details>
|
|
|
45 |
|
46 |
INIT_MARKDOWN = """
|
47 |
👈 Fill in as much data as you can...
|
48 |
+
|
49 |
+
|
50 |
+
|
51 |
+
|
52 |
+
|
53 |
👈 ... then click here!
|
54 |
"""
|
55 |
|
|
|
58 |
"""
|
59 |
|
60 |
SUGGETIONS_HEADER = """
|
61 |
+
✨ Here is a list of suggestions for you -- click to expand ✨
|
62 |
"""
|
63 |
|
64 |
TASK_MODEL_MISMATCH = """
|
65 |
<details><summary>{count}. Select a model better suited for your task</summary>
|
66 |
+
|
67 |
+
🤔 Why?
|
68 |
The selected model ("{model_name}") isn't tagged as a good fit for the task you selected ("{task_type}").
|
69 |
+
|
70 |
+
🤗 How?
|
71 |
Our recommendation is to go to our [tasks page](https://huggingface.co/tasks) and select one of our suggested
|
72 |
models as a starting point.
|
73 |
+
|
74 |
+
😱 Caveats
|
75 |
The tags of a model are defined by the community and are not always accurate. If you think the model is incorrectly
|
76 |
tagged or missing a tag, please open an issue on the [model card](https://huggingface.co/{model_name}/tree/main).
|
77 |
</details>
|