Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,10 @@ def summarize_and_convert_to_audio(pdf_file, abstract_page):
|
|
| 33 |
|
| 34 |
iface = gr.Interface(
|
| 35 |
fn=summarize_and_convert_to_audio,
|
| 36 |
-
inputs=[
|
|
|
|
|
|
|
|
|
|
| 37 |
outputs="audio",
|
| 38 |
live=True
|
| 39 |
)
|
|
|
|
| 33 |
|
| 34 |
iface = gr.Interface(
|
| 35 |
fn=summarize_and_convert_to_audio,
|
| 36 |
+
inputs=[
|
| 37 |
+
gr.File("application/pdf", label="Upload PDF file"),
|
| 38 |
+
"text"
|
| 39 |
+
],
|
| 40 |
outputs="audio",
|
| 41 |
live=True
|
| 42 |
)
|