Fixed build and added better error handling

#14
by dcrebbin - opened

The change works as expected:

Screenshot 2025-03-20 at 1.45.22 am.png

Working Public Hugging Face Space: https://huggingface.co/spaces/dcrebbin/Hokkien_Translation_Public

Notes:

  • When the models load upon initial build it'll error and the status will tell you to wait
  • This also happens when inference hasn't occurred for a period of time
  • Model load times with the below testing environment are around 3 minutes

Tested on:
CPU Basic
2 vCPU - 16 GB RAM

dcrebbin changed pull request status to closed
dcrebbin changed pull request status to open
dcrebbin changed pull request title from Removed unnecessary api key that results in a runtime error to Fixed build and added better error handling

Thanks for the updates. LGTM.

Ready to merge
This branch is ready to get merged automatically.
Your need to confirm your account before you can post a new comment.

Sign up or log in to comment