Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -55,7 +55,7 @@ async def init():
|
|
55 |
# Wait for the user to upload a file
|
56 |
while files == None:
|
57 |
files = await cl.AskFileMessage(
|
58 |
-
content="Hey, Welcome to ChatPDF!\n\nChatPDF is a smart, user-friendly tool that integrates state-of-the-art AI models with text extraction and embedding capabilities to create a unique, conversational interaction with your PDF documents.\n\nSimply upload your PDF, ask your questions, and ChatPDF will deliver the most relevant answers directly from your document.\n\nPlease upload a PDF file to begin!", accept=["application/pdf"]
|
59 |
).send()
|
60 |
|
61 |
file = files[0]
|
|
|
55 |
# Wait for the user to upload a file
|
56 |
while files == None:
|
57 |
files = await cl.AskFileMessage(
|
58 |
+
content="Hey, Welcome to ChatPDF!\n\nChatPDF is a smart, user-friendly tool that integrates state-of-the-art AI models with text extraction and embedding capabilities to create a unique, conversational interaction with your PDF documents.\n\nSimply upload your PDF, ask your questions, and ChatPDF will deliver the most relevant answers directly from your document.\n\nPlease upload a PDF file to begin!",max_size_mb=100, accept=["application/pdf"]
|
59 |
).send()
|
60 |
|
61 |
file = files[0]
|