Spaces:
Runtime error
Runtime error
Add application file
Browse files
app.py
CHANGED
@@ -192,7 +192,7 @@ def main_function(uploaded_file):
|
|
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="
|
196 |
)
|
197 |
|
198 |
# Avvia l'app
|
|
|
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="filepath")]
|
196 |
)
|
197 |
|
198 |
# Avvia l'app
|