kz209 commited on
Commit
c0a9946
1 Parent(s): eebe34f
Files changed (1) hide show
  1. pages/arena.py +3 -3
pages/arena.py CHANGED
@@ -36,13 +36,13 @@ Once the streaming is complete, you can choose the best response.\u2764\ufe0f"""
36
  inputs=[],
37
  outputs=[data_textbox]
38
  )
 
 
 
39
 
40
  with gr.Row():
41
  columns = [gr.Textbox(label=f"Prompt {i+1}", lines=10) for i in range(len(prompts))]
42
 
43
- random.shuffle(prompts)
44
- prompts = prompts[:3]
45
-
46
  content_list = [prompt['prompt'] + '\n{' + data_textbox.value + '}\n\nsummary:' for prompt in prompts]
47
  model = get_model_batch_generation("Qwen/Qwen2-1.5B-Instruct")
48
 
 
36
  inputs=[],
37
  outputs=[data_textbox]
38
  )
39
+
40
+ random.shuffle(prompts)
41
+ prompts = prompts[:3]
42
 
43
  with gr.Row():
44
  columns = [gr.Textbox(label=f"Prompt {i+1}", lines=10) for i in range(len(prompts))]
45
 
 
 
 
46
  content_list = [prompt['prompt'] + '\n{' + data_textbox.value + '}\n\nsummary:' for prompt in prompts]
47
  model = get_model_batch_generation("Qwen/Qwen2-1.5B-Instruct")
48