Commit
·
a609304
1
Parent(s):
a43235d
allow PDF file type
Browse files
app.py
CHANGED
@@ -86,7 +86,7 @@ async def on_chat_start():
|
|
86 |
while files == None:
|
87 |
files = await cl.AskFileMessage(
|
88 |
content="Please upload a PDF File file to begin!",
|
89 |
-
accept=["
|
90 |
max_size_mb=2,
|
91 |
timeout=180,
|
92 |
).send()
|
|
|
86 |
while files == None:
|
87 |
files = await cl.AskFileMessage(
|
88 |
content="Please upload a PDF File file to begin!",
|
89 |
+
accept=["application/pdf"],
|
90 |
max_size_mb=2,
|
91 |
timeout=180,
|
92 |
).send()
|