joaogante HF staff commited on
Commit
87ac548
·
1 Parent(s): bfee484

add suggestions and/or suggestions logic

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -67,12 +67,12 @@ SUGGETIONS_HEADER = """
67
  """
68
 
69
  TASK_MODEL_MISMATCH = """
70
- <details><summary>{count}. Select a model better suited for your task</summary>
71
  &nbsp;
72
 
73
  🤔 Why? &nbsp;
74
 
75
- The selected model ("{model_name}") isn't tagged as a good fit for the task you selected ("{task_type}"). &nbsp;
76
 
77
  🤗 How? &nbsp;
78
 
@@ -130,6 +130,7 @@ def get_suggestions(task_type, model_name, problem_type):
130
  # =====================================================================================================================
131
  demo = gr.Blocks()
132
  with demo:
 
133
  gr.Markdown(
134
  """
135
  # 🚀💬 Improving Generated Text 💬🚀
 
67
  """
68
 
69
  TASK_MODEL_MISMATCH = """
70
+ <details><summary>{count}. Select a model better suited for your task.</summary>
71
  &nbsp;
72
 
73
  🤔 Why? &nbsp;
74
 
75
+ The selected model (`{model_name}`) isn't tagged as a good fit for the task you selected ("{task_type}"). &nbsp;
76
 
77
  🤗 How? &nbsp;
78
 
 
130
  # =====================================================================================================================
131
  demo = gr.Blocks()
132
  with demo:
133
+ gr.Markdown("""I am a test [link](https://gradio.app/)""")
134
  gr.Markdown(
135
  """
136
  # 🚀💬 Improving Generated Text 💬🚀