Spaces:
Runtime error
Runtime error
Commit
·
d366b82
1
Parent(s):
b4af604
Test
Browse files
app.py
CHANGED
|
@@ -11,9 +11,9 @@ tokenizer = AutoTokenizer.from_pretrained(model_name)
|
|
| 11 |
with gr.Blocks() as demo:
|
| 12 |
gr.Markdown("# LLM Evaluator With Linguistic Scrutiny")
|
| 13 |
|
| 14 |
-
gr.Markdown(" Description ")
|
| 15 |
-
|
| 16 |
with gr.Tab("POS"):
|
|
|
|
|
|
|
| 17 |
with gr.Row():
|
| 18 |
prompt = gr.Textbox(show_label=False, placeholder="Enter prompt")
|
| 19 |
send_button_POS = gr.Button("Send", scale=0)
|
|
@@ -37,6 +37,8 @@ with gr.Blocks() as demo:
|
|
| 37 |
clear = gr.ClearButton([prompt, vicuna_chatbot1])
|
| 38 |
|
| 39 |
with gr.Tab("Chunk"):
|
|
|
|
|
|
|
| 40 |
with gr.Row():
|
| 41 |
prompt_chunk = gr.Textbox(show_label=False, placeholder="Enter prompt")
|
| 42 |
send_button_Chunk = gr.Button("Send", scale=0)
|
|
|
|
| 11 |
with gr.Blocks() as demo:
|
| 12 |
gr.Markdown("# LLM Evaluator With Linguistic Scrutiny")
|
| 13 |
|
|
|
|
|
|
|
| 14 |
with gr.Tab("POS"):
|
| 15 |
+
gr.Markdown(" Description ")
|
| 16 |
+
|
| 17 |
with gr.Row():
|
| 18 |
prompt = gr.Textbox(show_label=False, placeholder="Enter prompt")
|
| 19 |
send_button_POS = gr.Button("Send", scale=0)
|
|
|
|
| 37 |
clear = gr.ClearButton([prompt, vicuna_chatbot1])
|
| 38 |
|
| 39 |
with gr.Tab("Chunk"):
|
| 40 |
+
gr.Markdown(" Description 2 ")
|
| 41 |
+
|
| 42 |
with gr.Row():
|
| 43 |
prompt_chunk = gr.Textbox(show_label=False, placeholder="Enter prompt")
|
| 44 |
send_button_Chunk = gr.Button("Send", scale=0)
|