Spaces:
Sleeping
Sleeping
research14
commited on
Commit
•
5d4d985
1
Parent(s):
c954d81
Removed examples for testing
Browse files
app.py
CHANGED
@@ -12,11 +12,11 @@ theme = gr.themes.Soft()
|
|
12 |
# use run_llm.py to feed the models and then output 3 results in 3 output boxes, one for each strategy (strategy 1, 2 and 3)
|
13 |
|
14 |
# Define example instructions for testing
|
15 |
-
instruction_examples = [
|
16 |
-
["Describe the origin of the universe"],
|
17 |
-
["Explain the concept of artificial intelligence"],
|
18 |
-
["Describe the most common types of cancer"],
|
19 |
-
]
|
20 |
|
21 |
with gr.Interface(
|
22 |
fn=run_llm_interface,
|
@@ -30,7 +30,7 @@ with gr.Interface(
|
|
30 |
gr.Textbox("", label="Strategy 2 Output", key="output_2", readonly=True),
|
31 |
gr.Textbox("", label="Strategy 3 Output", key="output_3", readonly=True),
|
32 |
],
|
33 |
-
examples=instruction_examples,
|
34 |
live=False,
|
35 |
title="LLM Evaluator with Linguistic Scrutiny",
|
36 |
theme=theme
|
|
|
12 |
# use run_llm.py to feed the models and then output 3 results in 3 output boxes, one for each strategy (strategy 1, 2 and 3)
|
13 |
|
14 |
# Define example instructions for testing
|
15 |
+
#instruction_examples = [
|
16 |
+
# ["Describe the origin of the universe"],
|
17 |
+
# ["Explain the concept of artificial intelligence"],
|
18 |
+
# ["Describe the most common types of cancer"],
|
19 |
+
#]
|
20 |
|
21 |
with gr.Interface(
|
22 |
fn=run_llm_interface,
|
|
|
30 |
gr.Textbox("", label="Strategy 2 Output", key="output_2", readonly=True),
|
31 |
gr.Textbox("", label="Strategy 3 Output", key="output_3", readonly=True),
|
32 |
],
|
33 |
+
#examples=instruction_examples,
|
34 |
live=False,
|
35 |
title="LLM Evaluator with Linguistic Scrutiny",
|
36 |
theme=theme
|