Futuresony commited on
Commit
5e021b3
·
verified ·
1 Parent(s): aebad26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ with gr.Blocks() as demo:
64
  gr.Markdown("<p align='center' style='font-size: 20px;'>End-to-End ASR, Text Generation, and TTS</p>")
65
  gr.HTML("<center>Upload or record audio. The model will transcribe, generate a response, and read it out.</center>")
66
 
67
- audio_input = gr.Audio(label="Input Audio", type="file")
68
  text_output = gr.Textbox(label="Transcription")
69
  generated_text_output = gr.Textbox(label="Generated Text")
70
  audio_output = gr.Audio(label="Output Speech")
 
64
  gr.Markdown("<p align='center' style='font-size: 20px;'>End-to-End ASR, Text Generation, and TTS</p>")
65
  gr.HTML("<center>Upload or record audio. The model will transcribe, generate a response, and read it out.</center>")
66
 
67
+ audio_input = gr.Audio(label="Input Audio", type="filepath")
68
  text_output = gr.Textbox(label="Transcription")
69
  generated_text_output = gr.Textbox(label="Generated Text")
70
  audio_output = gr.Audio(label="Output Speech")