Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -318,20 +318,22 @@ 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, min_width=0):
|
| 324 |
gr.Markdown("Not likely", elem_classes="nps-label-left")
|
| 325 |
-
|
| 326 |
with gr.Column(scale=8, min_width=0):
|
| 327 |
-
gr.Markdown("") # spacer
|
| 328 |
-
|
| 329 |
with gr.Column(scale=1, min_width=0):
|
| 330 |
gr.Markdown("Extremely likely", elem_classes="nps-label-right")
|
| 331 |
|
| 332 |
-
|
|
|
|
|
|
|
|
|
|
| 333 |
nps_output = gr.Textbox(label="", interactive=False, visible=True)
|
| 334 |
|
|
|
|
| 335 |
gr.Markdown(" ") # A simple blank markdown can create space
|
| 336 |
|
| 337 |
progress_box = gr.Textbox(label="Live Processing Log", lines=20, interactive=False)
|
|
|
|
| 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)
|