Spaces:
Runtime error
Runtime error
Commit
Β·
275f7cc
1
Parent(s):
25203d2
updated description
Browse files
app.py
CHANGED
|
@@ -207,8 +207,12 @@ def interface():
|
|
| 207 |
|
| 208 |
with gr.Tab("Linguistic Entities"):
|
| 209 |
gr.Markdown("<h2>π Rules<h2>")
|
| 210 |
-
gr.Markdown("<h4>- Enter a sentence for three models to process (Vicuna-7b, LLaMA-7b and GPT-3.5)
|
| 211 |
-
gr.Markdown("<h4
|
|
|
|
|
|
|
|
|
|
|
|
|
| 212 |
|
| 213 |
# Inputs
|
| 214 |
ling_ents_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
|
|
@@ -245,9 +249,14 @@ def interface():
|
|
| 245 |
# outputs=[linguistic_entities, ling_ents_prompt, gpt_ling_ents_chatbot])
|
| 246 |
|
| 247 |
with gr.Tab("POS/Chunking"):
|
| 248 |
-
gr.Markdown("<h2>π Rules
|
| 249 |
-
gr.Markdown("<h4>- Enter a sentence for three models to process (Vicuna-7b, LLaMA-7b and GPT-3.5)
|
| 250 |
-
gr.Markdown("<h4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
|
| 252 |
# Inputs
|
| 253 |
task_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
|
|
|
|
| 207 |
|
| 208 |
with gr.Tab("Linguistic Entities"):
|
| 209 |
gr.Markdown("<h2>π Rules<h2>")
|
| 210 |
+
gr.Markdown("<h4>- Enter a sentence for three models to process (Vicuna-7b, LLaMA-7b and GPT-3.5).</h4>")
|
| 211 |
+
gr.Markdown("<h4>- Enter your OpenAI Api Key and click on 'Submit Key'.</h4>")
|
| 212 |
+
gr.Markdown("<h4>- Select a Linguistic Entity from the Dropdown.</h4>")
|
| 213 |
+
gr.Markdown("<h4>- Click 'Submit' to send your inputs to the models.</h4>")
|
| 214 |
+
gr.Markdown("<h4>- Scroll to the bottom and click 'Clear' to start again.</h4>")
|
| 215 |
+
gr.Markdown("<h4>π€ Now the models will output the linguistic entities found in your prompt based on your selections!</h4>")
|
| 216 |
|
| 217 |
# Inputs
|
| 218 |
ling_ents_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
|
|
|
|
| 249 |
# outputs=[linguistic_entities, ling_ents_prompt, gpt_ling_ents_chatbot])
|
| 250 |
|
| 251 |
with gr.Tab("POS/Chunking"):
|
| 252 |
+
gr.Markdown("<h2>π Rules</h2>")
|
| 253 |
+
gr.Markdown("<h4>- Enter a sentence for three models to process (Vicuna-7b, LLaMA-7b and GPT-3.5).</h4>")
|
| 254 |
+
gr.Markdown("<h4>- Enter your OpenAI Api Key and click on 'Submit Key'.</h4>")
|
| 255 |
+
gr.Markdown("<h4>- Select a Task from the Dropdown.</h4>")
|
| 256 |
+
gr.Markdown("<h4>- Select a Linguistic Entity from the Dropdown.</h4>")
|
| 257 |
+
gr.Markdown("<h4>- Click 'Submit' to send your inputs to the models.</h4>")
|
| 258 |
+
gr.Markdown("<h4>- Scroll to the bottom and click 'Clear' to start again.</h4>")
|
| 259 |
+
gr.Markdown("<h4>π€ Now the models will output the POS Tagging or Chunking in your prompt with three Strategies based on your selections!</h4>")
|
| 260 |
|
| 261 |
# Inputs
|
| 262 |
task_prompt = gr.Textbox(show_label=False, placeholder="Write a prompt and press enter")
|