Update backend/main.py
Browse files- backend/main.py +2 -1
backend/main.py
CHANGED
|
@@ -302,7 +302,8 @@ async def process_document(req: ProcessRequest):
|
|
| 302 |
except Exception as e:
|
| 303 |
logger.error(f"Error fetching content: {e}")
|
| 304 |
text_content = "Extraction error."
|
| 305 |
-
|
|
|
|
| 306 |
# Add file to DataService
|
| 307 |
data_service.add_file({
|
| 308 |
"file_id": req.file_id,
|
|
|
|
| 302 |
except Exception as e:
|
| 303 |
logger.error(f"Error fetching content: {e}")
|
| 304 |
text_content = "Extraction error."
|
| 305 |
+
|
| 306 |
+
print(req)
|
| 307 |
# Add file to DataService
|
| 308 |
data_service.add_file({
|
| 309 |
"file_id": req.file_id,
|