Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ def process_audio(audio_path):
|
|
35 |
|
36 |
iface = gr.Interface(
|
37 |
fn=process_audio,
|
38 |
-
inputs=gr.Audio(
|
39 |
outputs=[
|
40 |
gr.Textbox(label="Detected Language"),
|
41 |
gr.Textbox(label="Original Transcript"),
|
|
|
35 |
|
36 |
iface = gr.Interface(
|
37 |
fn=process_audio,
|
38 |
+
inputs=gr.Audio(type="filepath", label="Upload MP3/WAV Audio"), # FIXED LINE
|
39 |
outputs=[
|
40 |
gr.Textbox(label="Detected Language"),
|
41 |
gr.Textbox(label="Original Transcript"),
|