sotirios-slv commited on
Commit
fb90234
·
1 Parent(s): 96463c9

Update to layout

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -104,6 +104,8 @@ with gr.Blocks() as demo:
104
 
105
  # with gr.Row():
106
  mf_input = gr.Audio(sources='microphone',type="filepath"),
 
 
107
 
108
  gr.Markdown(f'### Output transcribed using {BASE_MODEL_NAME}')
109
  with gr.Row():
@@ -125,7 +127,7 @@ with gr.Blocks() as demo:
125
  show_legend=True,
126
  color_map={"+": "green", "-": "blue"}
127
  )
128
- btn = gr.Button("Run")
129
  btn.click(fn=transcribe, inputs=mf_input, outputs=[out_1, diff_out_1, out_2, diff_out_2])
130
 
131
  demo.launch()
 
104
 
105
  # with gr.Row():
106
  mf_input = gr.Audio(sources='microphone',type="filepath"),
107
+
108
+ btn = gr.Button("Transcribe")
109
 
110
  gr.Markdown(f'### Output transcribed using {BASE_MODEL_NAME}')
111
  with gr.Row():
 
127
  show_legend=True,
128
  color_map={"+": "green", "-": "blue"}
129
  )
130
+
131
  btn.click(fn=transcribe, inputs=mf_input, outputs=[out_1, diff_out_1, out_2, diff_out_2])
132
 
133
  demo.launch()