VyLala commited on
Commit
b52f5d6
·
verified ·
1 Parent(s): 4709077

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -11
app.py CHANGED
@@ -318,22 +318,18 @@ with gr.Blocks() as interface:
318
  elem_id="nps-radio-container"
319
  )
320
 
321
- # Row only for labels
322
  with gr.Row():
323
- with gr.Column(scale=1, min_width=0):
324
- gr.Markdown("Not likely", elem_classes="nps-label-left")
325
- with gr.Column(scale=8, min_width=0):
326
  gr.Markdown("") # spacer
327
- with gr.Column(scale=1, min_width=0):
328
- gr.Markdown("Extremely likely", elem_classes="nps-label-right")
329
-
330
- # Separate row for submit
331
- with gr.Row():
332
- nps_submit = gr.Button("Submit", elem_id="nps-submit-button")
333
 
 
334
  nps_output = gr.Textbox(label="", interactive=False, visible=True)
335
 
336
-
337
  gr.Markdown(" ") # A simple blank markdown can create space
338
 
339
  progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)
 
318
  elem_id="nps-radio-container"
319
  )
320
 
321
+ # Row for labels under the ends
322
  with gr.Row():
323
+ with gr.Column(scale=1):
324
+ gr.Markdown("Not likely")
325
+ with gr.Column(scale=8):
326
  gr.Markdown("") # spacer
327
+ with gr.Column(scale=1):
328
+ gr.Markdown("Extremely likely")
 
 
 
 
329
 
330
+ nps_submit = gr.Button("Submit", elem_id="nps-submit-button")
331
  nps_output = gr.Textbox(label="", interactive=False, visible=True)
332
 
 
333
  gr.Markdown(" ") # A simple blank markdown can create space
334
 
335
  progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)