Update app.py
Browse files
app.py
CHANGED
@@ -123,9 +123,6 @@ async def try_on(
|
|
123 |
except requests.exceptions.RequestException as e:
|
124 |
logger.error(f"Error forwarding request: {unofficial: {str(e)}")
|
125 |
raise HTTPException(status_code=500, detail=f"Error forwarding request: {str(e)}")
|
126 |
-
except Exception as e:
|
127 |
-
logger.error(f"Error in try_on endpoint: {str(e)}")
|
128 |
-
raise HTTPException(status_code=500, detail=f"Error processing request: {str(e)}")
|
129 |
|
130 |
# Health check endpoint
|
131 |
@app.get("/")
|
|
|
123 |
except requests.exceptions.RequestException as e:
|
124 |
logger.error(f"Error forwarding request: {unofficial: {str(e)}")
|
125 |
raise HTTPException(status_code=500, detail=f"Error forwarding request: {str(e)}")
|
|
|
|
|
|
|
126 |
|
127 |
# Health check endpoint
|
128 |
@app.get("/")
|