Skip to content

Commit

Permalink
test : 배포 test
Browse files Browse the repository at this point in the history
  • Loading branch information
LHS-11 committed Feb 19, 2024
1 parent 61dc609 commit 3a0d99c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/fastapi/dev/predict_content.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def predict(text: str = Query(...)):
# Return the result as JSON
return {"result": result}


except Exception as e:
raise HTTPException(status_code=500, detail=str(e))
#
Expand Down

0 comments on commit 3a0d99c

Please sign in to comment.