Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -46,8 +46,8 @@ def translate_audio(audio_file, target_language):
|
|
46 |
|
47 |
# Define inputs
|
48 |
inputs = [
|
49 |
-
gr.
|
50 |
-
gr.
|
51 |
]
|
52 |
|
53 |
|
|
|
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 |
|
53 |
|