Spaces:
Runtime error
Runtime error
update 'accept' field
Browse files
app.py
CHANGED
|
@@ -84,7 +84,7 @@ async def on_chat_start():
|
|
| 84 |
while files == None:
|
| 85 |
files = await cl.AskFileMessage(
|
| 86 |
content="Please upload a Text File or PDF to begin!",
|
| 87 |
-
accept=["text/plain"],
|
| 88 |
max_size_mb=2,
|
| 89 |
timeout=180,
|
| 90 |
).send()
|
|
|
|
| 84 |
while files == None:
|
| 85 |
files = await cl.AskFileMessage(
|
| 86 |
content="Please upload a Text File or PDF to begin!",
|
| 87 |
+
accept=["text/plain", "application/pdf"],
|
| 88 |
max_size_mb=2,
|
| 89 |
timeout=180,
|
| 90 |
).send()
|