Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -50,7 +50,7 @@ def translate_audio(inputs,target_language):
|
|
50 |
return translated_text
|
51 |
|
52 |
inputs=[
|
53 |
-
gr.Audio(
|
54 |
gr.Dropdown(lang_list, value="English", label="Target Language"),
|
55 |
]
|
56 |
description = "Audio translation"
|
|
|
50 |
return translated_text
|
51 |
|
52 |
inputs=[
|
53 |
+
gr.Audio(type="filepath", label="Audio file"),
|
54 |
gr.Dropdown(lang_list, value="English", label="Target Language"),
|
55 |
]
|
56 |
description = "Audio translation"
|