Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -13,6 +13,7 @@ async def process_document_base64(request: Request,background_tasks: BackgroundT
|
|
| 13 |
file_name = request_data.get('filename')
|
| 14 |
user_id = request_data.get('user_id')
|
| 15 |
print(user_id)
|
| 16 |
-
|
|
|
|
| 17 |
|
| 18 |
return {"status":'Processing and Updating the data to db!'}
|
|
|
|
| 13 |
file_name = request_data.get('filename')
|
| 14 |
user_id = request_data.get('user_id')
|
| 15 |
print(user_id)
|
| 16 |
+
await extract_structure_store_message(file_name,user_id)
|
| 17 |
+
# background_tasks.add_task(extract_structure_store_message,file_name,user_id)
|
| 18 |
|
| 19 |
return {"status":'Processing and Updating the data to db!'}
|