Remek commited on
Commit
7605281
1 Parent(s): 4c7b386

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -71,9 +71,9 @@ def on_rejected():
71
  return update_ui(record)
72
 
73
  with gr.Blocks() as demo:
74
- instruction = gr.Textbox(label="INSTRUCTION", lines=2, max_lines=2)
75
- chosen = gr.Textbox(label="CHOSEN", lines=12, max_lines=12)
76
- rejected = gr.Textbox(label="REJECTED", lines=12, max_lines=12)
77
  chosen_score = gr.Number(label="CHOSEN SCORE")
78
  rejected_score = gr.Number(label="REJECTED SCORE")
79
  status = gr.Textbox(label="STATUS")
 
71
  return update_ui(record)
72
 
73
  with gr.Blocks() as demo:
74
+ instruction = gr.Textbox(label="INSTRUCTION", lines=8, max_lines=8)
75
+ chosen = gr.Textbox(label="CHOSEN", lines=8, max_lines=8)
76
+ rejected = gr.Textbox(label="REJECTED", lines=8, max_lines=8)
77
  chosen_score = gr.Number(label="CHOSEN SCORE")
78
  rejected_score = gr.Number(label="REJECTED SCORE")
79
  status = gr.Textbox(label="STATUS")