fffiloni commited on
Commit
c62d4cd
·
verified ·
1 Parent(s): c5fe591

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -79,6 +79,11 @@ with gr.Blocks(css=css) as demo:
79
  with gr.Row():
80
  with gr.Column():
81
  speech = gr.Audio(label="Audio", type='filepath')
 
 
 
 
 
82
 
83
  with gr.Accordion("Advanced Settings", open=False):
84
  num_beams = gr.Slider(
@@ -107,12 +112,7 @@ with gr.Blocks(css=css) as demo:
107
  interactive=False,
108
  label="temperature",
109
  )
110
-
111
- with gr.Column():
112
- with gr.Row():
113
- text_input = gr.Textbox(label='User question', placeholder='Please upload your audio first', interactive=True)
114
- submit_btn = gr.Button("Submit")
115
- answer = gr.Textbox(label="Salmonn answer")
116
 
117
  with gr.Row():
118
  examples = gr.Examples(
 
79
  with gr.Row():
80
  with gr.Column():
81
  speech = gr.Audio(label="Audio", type='filepath')
82
+
83
+ with gr.Row():
84
+ text_input = gr.Textbox(label='User question', placeholder='Please upload your audio first', interactive=True)
85
+ submit_btn = gr.Button("Submit")
86
+ answer = gr.Textbox(label="Salmonn answer")
87
 
88
  with gr.Accordion("Advanced Settings", open=False):
89
  num_beams = gr.Slider(
 
112
  interactive=False,
113
  label="temperature",
114
  )
115
+
 
 
 
 
 
116
 
117
  with gr.Row():
118
  examples = gr.Examples(