Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
RitheeshBaradwaj committed Jul 21, 2024
1 parent 0852be9 commit a566cff
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
*.tflite filter=lfs diff=lfs merge=lfs -text
*ttf filter=lfs diff=lfs merge=lfs -text
Binary file added restapi/memegen/1.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion restapi/memegen/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def text_alignment(label, im):
im = cv2.cvtColor(np.array(pil_im), cv2.COLOR_RGB2BGR)
return im
except Exception as e:
print(e)
print(f"Exception: {e}")
img = cv2.imread("static/dontdelete/wrong.jpg")
img = cv2.resize(img, (300, 300))
return img
Expand Down

0 comments on commit a566cff

Please sign in to comment.