BlahBlah314 commited on
Commit
70122e7
·
verified ·
1 Parent(s): 4705045

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -22,11 +22,10 @@ def process_transcribe(file):
22
  return raw_text
23
 
24
  with gr.Blocks(theme=gr.themes.Default(primary_hue="blue")) as iface:
25
- with gr.Tab("App"):
26
  with gr.Row():
27
  with gr.Column():
28
- audio_id = gr.Textbox(label="Audio")
29
- audio_file = gr.Audio(sources=["upload"], type="numpy")
30
  submit_btn = gr.Button("Submit", variant="primary")
31
  with gr.Column():
32
  raw_transcript = gr.Textbox(label="Transcription")
 
22
  return raw_text
23
 
24
  with gr.Blocks(theme=gr.themes.Default(primary_hue="blue")) as iface:
25
+ with gr.Tab("Speech2text prescription"):
26
  with gr.Row():
27
  with gr.Column():
28
+ audio_file = gr.Audio(sources=["upload", "microphone"], type="numpy", label="Audio")
 
29
  submit_btn = gr.Button("Submit", variant="primary")
30
  with gr.Column():
31
  raw_transcript = gr.Textbox(label="Transcription")