nouamanetazi HF staff commited on
Commit
d46462c
·
1 Parent(s): b489b25
Files changed (1) hide show
  1. app/ui_battle.py +6 -3
app/ui_battle.py CHANGED
@@ -25,7 +25,8 @@ with gr.Blocks() as battle:
25
  lines=3,
26
  max_lines=10,
27
  scale=9999999,
28
- min_width=0
 
29
  )
30
  random_prompt = gr.Button('🎲', scale=0, min_width=0, variant='tool')
31
 
@@ -38,7 +39,8 @@ with gr.Blocks() as battle:
38
  label="Model A Response",
39
  lines=8,
40
  max_lines=8,
41
- interactive=False
 
42
  )
43
  a_better = gr.Button("A is better", variant='primary')
44
  model1_name = gr.Textbox(
@@ -55,7 +57,8 @@ with gr.Blocks() as battle:
55
  label="Model B Response",
56
  lines=8,
57
  max_lines=8,
58
- interactive=False
 
59
  )
60
  b_better = gr.Button("B is better", variant='primary')
61
  model2_name = gr.Textbox(
 
25
  lines=3,
26
  max_lines=10,
27
  scale=9999999,
28
+ min_width=0,
29
+ rtl=True
30
  )
31
  random_prompt = gr.Button('🎲', scale=0, min_width=0, variant='tool')
32
 
 
39
  label="Model A Response",
40
  lines=8,
41
  max_lines=8,
42
+ interactive=False,
43
+ rtl=True
44
  )
45
  a_better = gr.Button("A is better", variant='primary')
46
  model1_name = gr.Textbox(
 
57
  label="Model B Response",
58
  lines=8,
59
  max_lines=8,
60
+ interactive=False,
61
+ rtl=True
62
  )
63
  b_better = gr.Button("B is better", variant='primary')
64
  model2_name = gr.Textbox(