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