Spaces:
Sleeping
Sleeping
Pranjal12345
commited on
Commit
•
4c1a6a6
1
Parent(s):
1d2fac3
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def translate_audio(inputs,target_language):
|
|
51 |
return translated_text
|
52 |
|
53 |
inputs=[
|
54 |
-
gr.
|
55 |
gr.Dropdown(lang_list, value="English", label="Target Language"),
|
56 |
]
|
57 |
description = "Audio translation"
|
@@ -65,5 +65,4 @@ translation_interface = gr.Interface(
|
|
65 |
description= description
|
66 |
)
|
67 |
|
68 |
-
#gcgv
|
69 |
translation_interface.launch()
|
|
|
51 |
return translated_text
|
52 |
|
53 |
inputs=[
|
54 |
+
gr.Audio(label="Audio file"),
|
55 |
gr.Dropdown(lang_list, value="English", label="Target Language"),
|
56 |
]
|
57 |
description = "Audio translation"
|
|
|
65 |
description= description
|
66 |
)
|
67 |
|
|
|
68 |
translation_interface.launch()
|