Use single-column layout in web UI with status below submit button
This commit is contained in:
+1
-2
@@ -134,7 +134,7 @@ def create_app():
|
||||
if header_html:
|
||||
gr.HTML(header_html)
|
||||
|
||||
with gr.Row(elem_id="main-row"):
|
||||
# Single-column layout: inputs followed by status/output
|
||||
with gr.Column():
|
||||
audio_input = gr.Audio(
|
||||
label="Upload or record audio",
|
||||
@@ -169,7 +169,6 @@ def create_app():
|
||||
|
||||
submit_btn = gr.Button("Submit for transcription", variant="primary")
|
||||
|
||||
with gr.Column():
|
||||
status_text = gr.Textbox(
|
||||
label="Status",
|
||||
lines=6,
|
||||
|
||||
Reference in New Issue
Block a user