Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -318,22 +318,18 @@ with gr.Blocks() as interface:
|
|
| 318 |
elem_id="nps-radio-container"
|
| 319 |
)
|
| 320 |
|
| 321 |
-
# Row
|
| 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 |
-
# 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)
|