Spaces:
Runtime error
Runtime error
add suggestions and/or suggestions logic
Browse files
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
|
71 |
|
72 |
|
73 |
🤔 Why?
|
74 |
|
75 |
-
The selected model (
|
76 |
|
77 |
🤗 How?
|
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 |
|
72 |
|
73 |
🤔 Why?
|
74 |
|
75 |
+
The selected model (`{model_name}`) isn't tagged as a good fit for the task you selected ("{task_type}").
|
76 |
|
77 |
🤗 How?
|
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 💬🚀
|