Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -418,6 +418,7 @@ def create_interface():
|
|
| 418 |
input_file = gr.File(
|
| 419 |
label="Upload File (Optional)",
|
| 420 |
file_types=[".pdf", ".txt"],
|
|
|
|
| 421 |
info=f"Max size: {MAX_FILE_SIZE_MB}MB"
|
| 422 |
)
|
| 423 |
|
|
|
|
| 418 |
input_file = gr.File(
|
| 419 |
label="Upload File (Optional)",
|
| 420 |
file_types=[".pdf", ".txt"],
|
| 421 |
+
type="filepath",
|
| 422 |
info=f"Max size: {MAX_FILE_SIZE_MB}MB"
|
| 423 |
)
|
| 424 |
|