Remek commited on
Commit
aff4f62
1 Parent(s): 2c4ffd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -97,9 +97,9 @@ def on_rejected():
97
  return update_ui(record)
98
 
99
  with gr.Blocks(css="button.ok-button { background-color: #4CAF50 !important; }") as demo:
100
- instruction = gr.Textbox(label="INSTRUCTION", lines=8, max_lines=8)
101
- chosen = gr.Textbox(label="CHOSEN", lines=8, max_lines=8)
102
- rejected = gr.Textbox(label="REJECTED", lines=8, max_lines=8)
103
  chosen_score = gr.Number(label="CHOSEN SCORE")
104
  rejected_score = gr.Number(label="REJECTED SCORE")
105
  status = gr.Textbox(label="STATUS")
 
97
  return update_ui(record)
98
 
99
  with gr.Blocks(css="button.ok-button { background-color: #4CAF50 !important; }") as demo:
100
+ instruction = gr.Textbox(label="INSTRUCTION", lines=2, max_lines=2)
101
+ chosen = gr.Textbox(label="CHOSEN", lines=12, max_lines=12)
102
+ rejected = gr.Textbox(label="REJECTED", lines=12, max_lines=12)
103
  chosen_score = gr.Number(label="CHOSEN SCORE")
104
  rejected_score = gr.Number(label="REJECTED SCORE")
105
  status = gr.Textbox(label="STATUS")