Update main.py
Browse files
main.py
CHANGED
|
@@ -221,5 +221,5 @@ async def get_data(user_id: str = Query(...), input_file: UploadFile = File(...)
|
|
| 221 |
data = json.loads(response.text.replace("```", "")) # Sanitize response
|
| 222 |
return {"data": data}
|
| 223 |
|
| 224 |
-
except Exception as e:
|
| 225 |
-
|
|
|
|
| 221 |
data = json.loads(response.text.replace("```", "")) # Sanitize response
|
| 222 |
return {"data": data}
|
| 223 |
|
| 224 |
+
# except Exception as e:
|
| 225 |
+
# raise HTTPException(status_code=500, detail=f"Error processing file: {str(e)}")
|