Spaces:
Runtime error
Runtime error
Commit
·
8a2b7a1
1
Parent(s):
cffdbce
added placeholders
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def echo_text(input_text):
|
|
8 |
|
9 |
with gr.Interface(
|
10 |
fn=echo_text,
|
11 |
-
inputs=gr.Textbox("Enter text here..."),
|
12 |
outputs=gr.Textbox(),
|
13 |
live=True,
|
14 |
title="LLM Evaluator with Linguistic Scrutiny",
|
@@ -17,9 +17,9 @@ with gr.Interface(
|
|
17 |
blocks = gr.Blocks()
|
18 |
|
19 |
with gr.Row():
|
20 |
-
vicuna_model_selector = gr.Dropdown(["7b", "13b", "33b"], label="Vicuna Model",
|
21 |
-
llama_model_selector = gr.Dropdown(["7B", "13B", "30B", "65B"], label="LLaMa Model",
|
22 |
-
chatgpt_api_key = gr.Textbox(label="ChatGPT API Key", type="password")
|
23 |
|
24 |
# Strategy 1 - QA-Based Prompting
|
25 |
strategy1_title = gr.Textbox("Strategy 1 - QA-Based Prompting", style="font-weight: bold; font-size: 16px;")
|
|
|
8 |
|
9 |
with gr.Interface(
|
10 |
fn=echo_text,
|
11 |
+
inputs=gr.Textbox(placeholder="Enter text here..."),
|
12 |
outputs=gr.Textbox(),
|
13 |
live=True,
|
14 |
title="LLM Evaluator with Linguistic Scrutiny",
|
|
|
17 |
blocks = gr.Blocks()
|
18 |
|
19 |
with gr.Row():
|
20 |
+
vicuna_model_selector = gr.Dropdown(["7b", "13b", "33b"], label="Vicuna Model", placeholder="Select model size")
|
21 |
+
llama_model_selector = gr.Dropdown(["7B", "13B", "30B", "65B"], label="LLaMa Model", placeholder="Select model size")
|
22 |
+
chatgpt_api_key = gr.Textbox(label="ChatGPT API Key", type="password", placeholder="Enter your API key")
|
23 |
|
24 |
# Strategy 1 - QA-Based Prompting
|
25 |
strategy1_title = gr.Textbox("Strategy 1 - QA-Based Prompting", style="font-weight: bold; font-size: 16px;")
|