joaogante HF staff commited on
Commit
28bb13c
·
1 Parent(s): 66e8a8e

add suggestions and/or suggestions logic

Browse files
Files changed (1) hide show
  1. app.py +12 -12
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
+ &nbsp;
49
+ &nbsp;
50
+ &nbsp;
51
+ &nbsp;
52
+ &nbsp;
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
+ &nbsp;
67
+ 🤔 Why? &nbsp;
68
  The selected model ("{model_name}") isn't tagged as a good fit for the task you selected ("{task_type}").
69
+ &nbsp;
70
+ 🤗 How? &nbsp;
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
+ &nbsp;
74
+ 😱 Caveats &nbsp;
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>