maliahson commited on
Commit
5f781a7
·
verified ·
1 Parent(s): fe2a891

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -113,7 +113,8 @@ with gr.Blocks(title="Audio Processing and Information Extraction") as interface
113
  gr.Markdown("## Audio Transcription, Translation, and Information Extraction")
114
 
115
  with gr.Row():
116
- audio_input = gr.Audio(source="upload", type="filepath", label="Upload Audio File")
 
117
  prompt_input = gr.Textbox(label="Prompt for Information Extraction", placeholder="Enter your prompt here")
118
 
119
  with gr.Row():
 
113
  gr.Markdown("## Audio Transcription, Translation, and Information Extraction")
114
 
115
  with gr.Row():
116
+ # Fixed: removed 'source' argument from gr.Audio
117
+ audio_input = gr.Audio(type="filepath", label="Upload Audio File")
118
  prompt_input = gr.Textbox(label="Prompt for Information Extraction", placeholder="Enter your prompt here")
119
 
120
  with gr.Row():