Spaces:
Runtime error
Runtime error
Add application file
Browse files
app.py
CHANGED
@@ -191,7 +191,7 @@ def main_function(uploaded_file):
|
|
191 |
|
192 |
iface = gr.Interface(
|
193 |
fn=main_function,
|
194 |
-
inputs=gr.File(type="
|
195 |
outputs=[gr.Textbox(label="Summary Text"), gr.Audio(label="Summary Audio", type="file")]
|
196 |
)
|
197 |
|
|
|
191 |
|
192 |
iface = gr.Interface(
|
193 |
fn=main_function,
|
194 |
+
inputs=gr.File(type="filepath"), # Cambiato da "pdf" a "file"
|
195 |
outputs=[gr.Textbox(label="Summary Text"), gr.Audio(label="Summary Audio", type="file")]
|
196 |
)
|
197 |
|