Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ def generate_summary(file):
|
|
| 28 |
|
| 29 |
iface = gr.Interface(
|
| 30 |
fn=generate_summary,
|
| 31 |
-
|
| 32 |
outputs="text",
|
| 33 |
title="EHCP Summary Generator",
|
| 34 |
description="Upload an EHCP in PDF or Word format to get a structured summary using a transformer model."
|
|
|
|
| 28 |
|
| 29 |
iface = gr.Interface(
|
| 30 |
fn=generate_summary,
|
| 31 |
+
gr.File(label="Upload EHCPs", file_types=[".pdf", ".docx"], file_count="multiple")
|
| 32 |
outputs="text",
|
| 33 |
title="EHCP Summary Generator",
|
| 34 |
description="Upload an EHCP in PDF or Word format to get a structured summary using a transformer model."
|