Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def translate_audio(audio_file, target_language):
|
|
46 |
|
47 |
# Define inputs
|
48 |
inputs = [
|
49 |
-
gr.Audio(type = "
|
50 |
gr.Dropdown(["English", "Spanish", "French", "German", "Italian", "Chinese"], label = "Target_Language")
|
51 |
]
|
52 |
|
|
|
46 |
|
47 |
# Define inputs
|
48 |
inputs = [
|
49 |
+
gr.Audio(type = "filepath", label = "Audio_file"),
|
50 |
gr.Dropdown(["English", "Spanish", "French", "German", "Italian", "Chinese"], label = "Target_Language")
|
51 |
]
|
52 |
|