Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -44,9 +44,9 @@ def interface(pdf_file, lang, file_format):
|
|
44 |
iface = gr.Interface(
|
45 |
fn=interface,
|
46 |
inputs=[
|
47 |
-
gr.
|
48 |
-
gr.
|
49 |
-
gr.
|
50 |
],
|
51 |
outputs="file",
|
52 |
title="PDF to Speech Converter",
|
|
|
44 |
iface = gr.Interface(
|
45 |
fn=interface,
|
46 |
inputs=[
|
47 |
+
gr.File(label="Upload PDF"),
|
48 |
+
gr.Dropdown(choices=["en", "es", "fr", "de", "it", "tr", "zh", "jp"], label="Select Language"),
|
49 |
+
gr.Radio(choices=["mp3", "wav"], label="Select Output Format")
|
50 |
],
|
51 |
outputs="file",
|
52 |
title="PDF to Speech Converter",
|