Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -206,7 +206,7 @@ plt.show()
|
|
| 206 |
|
| 207 |
return {"code": code, "filename": code_filename}
|
| 208 |
except Exception as e:
|
| 209 |
-
logger.error(f"Error during visualization
|
| 210 |
raise HTTPException(status_code=500, detail=str(e))
|
| 211 |
|
| 212 |
async def extract_text_from_file(file: UploadFile):
|
|
|
|
| 206 |
|
| 207 |
return {"code": code, "filename": code_filename}
|
| 208 |
except Exception as e:
|
| 209 |
+
logger.error(f"Error during visualization codeS generation: {e}")
|
| 210 |
raise HTTPException(status_code=500, detail=str(e))
|
| 211 |
|
| 212 |
async def extract_text_from_file(file: UploadFile):
|