initial commit
Browse files- backend/main.py +0 -2
backend/main.py
CHANGED
|
@@ -356,8 +356,6 @@ async def process_document(req: ProcessRequest):
|
|
| 356 |
logger.error(f"Error processing: {e}")
|
| 357 |
raise HTTPException(status_code=500, detail=str(e))
|
| 358 |
|
| 359 |
-
import uvicorn
|
| 360 |
-
uvicorn.run(app, host="0.0.0.0", port=7860)
|
| 361 |
|
| 362 |
# Serve Static Files for Deployment (must be after API routes)
|
| 363 |
static_dir = "static"
|
|
|
|
| 356 |
logger.error(f"Error processing: {e}")
|
| 357 |
raise HTTPException(status_code=500, detail=str(e))
|
| 358 |
|
|
|
|
|
|
|
| 359 |
|
| 360 |
# Serve Static Files for Deployment (must be after API routes)
|
| 361 |
static_dir = "static"
|