Update src/obs_eval_gradio.py

#1
by Ridealist - opened
Files changed (1) hide show
  1. src/obs_eval_gradio.py +2 -2
src/obs_eval_gradio.py CHANGED
@@ -260,7 +260,7 @@ def main():
260
  info="Enter your evaluation criteria here...",
261
  placeholder="<CRITERIA>\nThe correct way to do a forward roll is as follows:\n1. From standing, bend your knees and straighten your arms in front of you.\n2. Place your hands on the floor, shoulder width apart with fingers pointing forward and your chin on your chest.\n3. Rock forward, straighten legs and transfer body weight onto shoulders.\n4. Rock forward on a rounded back placing both feet on the floor.\n5. Stand using arms for balance, without hands touching the floor.",
262
  lines=7)
263
- submit_button = gr.Button("Submit")
264
 
265
  with gr.Column(scale=1):
266
  output_box = gr.Textbox(
@@ -276,7 +276,7 @@ def main():
276
  info="You can edit partial evaluation in here...",
277
  lines=10,
278
  interactive=True)
279
- submit_button_2 = gr.Button("Submit")
280
 
281
  with gr.Column(scale=1):
282
  output_box_fin_fin = gr.Textbox(label="FINAL EVALUATION", lines=10, interactive=True)
 
260
  info="Enter your evaluation criteria here...",
261
  placeholder="<CRITERIA>\nThe correct way to do a forward roll is as follows:\n1. From standing, bend your knees and straighten your arms in front of you.\n2. Place your hands on the floor, shoulder width apart with fingers pointing forward and your chin on your chest.\n3. Rock forward, straighten legs and transfer body weight onto shoulders.\n4. Rock forward on a rounded back placing both feet on the floor.\n5. Stand using arms for balance, without hands touching the floor.",
262
  lines=7)
263
+ submit_button = gr.Button("Evaluate")
264
 
265
  with gr.Column(scale=1):
266
  output_box = gr.Textbox(
 
276
  info="You can edit partial evaluation in here...",
277
  lines=10,
278
  interactive=True)
279
+ submit_button_2 = gr.Button("Summarize")
280
 
281
  with gr.Column(scale=1):
282
  output_box_fin_fin = gr.Textbox(label="FINAL EVALUATION", lines=10, interactive=True)