Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
·
bd19242
1
Parent(s):
fa738bd
update
Browse files- pages/arena.py +1 -1
pages/arena.py
CHANGED
@@ -39,7 +39,7 @@ Once the streaming is complete, you can choose the best response.\u2764\ufe0f"""
|
|
39 |
with gr.Row():
|
40 |
columns = [gr.Textbox(label=f"Prompt {i+1}", lines=10) for i in range(len(prompts))]
|
41 |
|
42 |
-
content_list = [prompt + '\n{' + data_textbox + '}\n\nsummary:' for prompt in prompts]
|
43 |
model = get_model_batch_generation("Qwen/Qwen2-1.5B-Instruct")
|
44 |
|
45 |
def start_streaming():
|
|
|
39 |
with gr.Row():
|
40 |
columns = [gr.Textbox(label=f"Prompt {i+1}", lines=10) for i in range(len(prompts))]
|
41 |
|
42 |
+
content_list = [prompt + '\n{' + data_textbox.value + '}\n\nsummary:' for prompt in prompts]
|
43 |
model = get_model_batch_generation("Qwen/Qwen2-1.5B-Instruct")
|
44 |
|
45 |
def start_streaming():
|