Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -425,7 +425,7 @@ if __name__ == '__main__':
|
|
| 425 |
|
| 426 |
async def upload_handler(files):
|
| 427 |
|
| 428 |
-
if files.lower().endswith(".pdf")
|
| 429 |
asyncio.create_task(send_pdf_async_aiohttp(files, server_ip=openai_api_base, Authorization=Authorization))
|
| 430 |
|
| 431 |
b64s = files_to_b64(files)
|
|
|
|
| 425 |
|
| 426 |
async def upload_handler(files):
|
| 427 |
|
| 428 |
+
if files.lower().endswith(".pdf"):
|
| 429 |
asyncio.create_task(send_pdf_async_aiohttp(files, server_ip=openai_api_base, Authorization=Authorization))
|
| 430 |
|
| 431 |
b64s = files_to_b64(files)
|