Update app.py
Browse files
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=
|
75 |
-
chosen = gr.Textbox(label="CHOSEN", lines=
|
76 |
-
rejected = gr.Textbox(label="REJECTED", lines=
|
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")
|