Spaces:
Runtime error
Runtime error
Commit
·
f122880
1
Parent(s):
67b28a6
updated description for strategies
Browse files
app.py
CHANGED
@@ -215,7 +215,6 @@ def interface():
|
|
215 |
ling_ents_btn = gr.Button(value="Submit")
|
216 |
|
217 |
# Outputs
|
218 |
-
gr.Markdown("Strategy 1 QA-Based Prompting")
|
219 |
|
220 |
# linguistic_features_textbox = gr.Textbox(label="Linguistic Features", disabled=True)
|
221 |
|
@@ -261,7 +260,18 @@ def interface():
|
|
261 |
- Check that you entered your key correctly without any extra characters.
|
262 |
- If you used a free key, it means you exceeded your quota from the free API Key.
|
263 |
""")
|
264 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
265 |
# Inputs
|
266 |
task_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
|
267 |
with gr.Row():
|
|
|
215 |
ling_ents_btn = gr.Button(value="Submit")
|
216 |
|
217 |
# Outputs
|
|
|
218 |
|
219 |
# linguistic_features_textbox = gr.Textbox(label="Linguistic Features", disabled=True)
|
220 |
|
|
|
260 |
- Check that you entered your key correctly without any extra characters.
|
261 |
- If you used a free key, it means you exceeded your quota from the free API Key.
|
262 |
""")
|
263 |
+
|
264 |
+
gr.Markdown("""
|
265 |
+
### 🛠 How each Strategy works
|
266 |
+
|
267 |
+
- Strategy 1 - QA-Based Prompting
|
268 |
+
- S1 Explanation
|
269 |
+
- Strategy 2 - Instruction-Based Prompting
|
270 |
+
- S2 Explanation
|
271 |
+
- Strategy 3 - Structured Prompting
|
272 |
+
- S3 Explanation
|
273 |
+
""")
|
274 |
+
|
275 |
# Inputs
|
276 |
task_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
|
277 |
with gr.Row():
|