Spaces:
Runtime error
Runtime error
Add Application file
Browse files
app.py
CHANGED
|
@@ -178,7 +178,7 @@ def main_function(pdf_file):
|
|
| 178 |
|
| 179 |
iface = gr.Interface(
|
| 180 |
fn=main_function,
|
| 181 |
-
inputs=gr.File(type="
|
| 182 |
outputs=[gr.Textbox(label="Summary Text"), gr.Audio(label="Summary Audio", type="file")]
|
| 183 |
)
|
| 184 |
|
|
|
|
| 178 |
|
| 179 |
iface = gr.Interface(
|
| 180 |
fn=main_function,
|
| 181 |
+
inputs=gr.File(type="file"), # Cambiato da "pdf" a "file"
|
| 182 |
outputs=[gr.Textbox(label="Summary Text"), gr.Audio(label="Summary Audio", type="file")]
|
| 183 |
)
|
| 184 |
|