Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
•
aa733b6
1
Parent(s):
d3d48e1
fix
Browse files
pages/batch_evaluation.py
CHANGED
@@ -35,8 +35,9 @@ def process(seed, model_selection, prompt, num=10):
|
|
35 |
return response_list
|
36 |
|
37 |
def create_batch_evaluation_interface():
|
38 |
-
with gr.
|
39 |
gr.Markdown("## Here are evaluation setups")
|
|
|
40 |
with gr.Row():
|
41 |
seed = gr.Number(value=8, placeholder="pick your favoriate random seed")
|
42 |
model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
|
|
|
35 |
return response_list
|
36 |
|
37 |
def create_batch_evaluation_interface():
|
38 |
+
with gr.Blocks() as demo:
|
39 |
gr.Markdown("## Here are evaluation setups")
|
40 |
+
|
41 |
with gr.Row():
|
42 |
seed = gr.Number(value=8, placeholder="pick your favoriate random seed")
|
43 |
model_dropdown = gr.Dropdown(choices=Model.__model_list__, label="Choose a model", value=Model.__model_list__[0])
|