acpotts commited on
Commit
2a236ad
1 Parent(s): 8777de0

update 'accept' field

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()