Spaces:
Running
Running
kahennefer
commited on
Commit
•
73bdf01
1
Parent(s):
dc3ac5e
Update app.py
Browse files
app.py
CHANGED
@@ -84,15 +84,13 @@ app_description = "Convert text from a PDF file to audio. Upload a PDF file. We
|
|
84 |
# Create the Gradio app
|
85 |
input_component = gr.File(file_types=["pdf"])
|
86 |
output_component = gr.Audio()
|
87 |
-
examples = "sample.pdf"
|
88 |
|
89 |
demo = gr.Interface(
|
90 |
fn=generate_audio_func,
|
91 |
inputs=input_component,
|
92 |
outputs=output_component,
|
93 |
title=app_name,
|
94 |
-
description=app_description
|
95 |
-
examples = examples
|
96 |
)
|
97 |
|
98 |
demo.launch()
|
|
|
84 |
# Create the Gradio app
|
85 |
input_component = gr.File(file_types=["pdf"])
|
86 |
output_component = gr.Audio()
|
|
|
87 |
|
88 |
demo = gr.Interface(
|
89 |
fn=generate_audio_func,
|
90 |
inputs=input_component,
|
91 |
outputs=output_component,
|
92 |
title=app_name,
|
93 |
+
description=app_description
|
|
|
94 |
)
|
95 |
|
96 |
demo.launch()
|