Update app.py
Browse files
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 |
-
|
|
|
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():
|