Spaces:
Sleeping
Sleeping
Initial Commit 5.1.0
Browse files
app.py
CHANGED
|
@@ -96,6 +96,7 @@ async def handle_pdf_processing(pdf_path: str, callback_url: str, task_id: str,
|
|
| 96 |
"content": html,
|
| 97 |
"book_id": book_id
|
| 98 |
}, headers=headers )
|
|
|
|
| 99 |
logger.info(f"Callback sent for task {task_id}")
|
| 100 |
except Exception as e:
|
| 101 |
logger.error(f"Callback failed for task {task_id}: {e}")
|
|
|
|
| 96 |
"content": html,
|
| 97 |
"book_id": book_id
|
| 98 |
}, headers=headers )
|
| 99 |
+
logger.info(f"Content Generated \n {html} ")
|
| 100 |
logger.info(f"Callback sent for task {task_id}")
|
| 101 |
except Exception as e:
|
| 102 |
logger.error(f"Callback failed for task {task_id}: {e}")
|