Update app.py
Browse files
app.py
CHANGED
@@ -257,7 +257,7 @@ async def api_predict(request: Request):
|
|
257 |
status_code=500,
|
258 |
content={
|
259 |
"status": "error",
|
260 |
-
"message": f"
|
261 |
}
|
262 |
)
|
263 |
|
|
|
257 |
status_code=500,
|
258 |
content={
|
259 |
"status": "error",
|
260 |
+
"message": f"服务器内部错误了: {str(e)}"
|
261 |
}
|
262 |
)
|
263 |
|