Update app.py
Browse files
app.py
CHANGED
@@ -206,7 +206,7 @@ def demo():
|
|
206 |
|
207 |
# Create a dictionary with the necessary information
|
208 |
pdf_dict = {"value": process_pdfs, "height": 100, "file_count": "multiple",
|
209 |
-
"visible":
|
210 |
"label": "Uploaded PDF documents"}
|
211 |
|
212 |
# Create a gr.Files component with the dictionary
|
|
|
206 |
|
207 |
# Create a dictionary with the necessary information
|
208 |
pdf_dict = {"value": process_pdfs, "height": 100, "file_count": "multiple",
|
209 |
+
"visible": True, "file_types": ["pdf"], "interactive": True,
|
210 |
"label": "Uploaded PDF documents"}
|
211 |
|
212 |
# Create a gr.Files component with the dictionary
|