What is API_URL and what do we set it to?

#38
by facehuggerthesecond - opened

image.png

What do I set this to? I need to duplicate it and run it in faster hardware. Help appreciated!

I believe API_URL is simply a variable for the host location. Check this file https://huggingface.co/spaces/sanchit-gandhi/whisper-jax/blob/main/nginx.conf

I believe API_URL is simply a variable for the host location. Check this file https://huggingface.co/spaces/sanchit-gandhi/whisper-jax/blob/main/nginx.conf

But what do I set it to for the deployment to work? What value?

If you notice, the space contains no app files (directly) in it. It is all handled by Docker and hosted somewhere else. In this case, the APP_URL is the location of the Gradio app itself. The original space is located at https://sanchit-gandhi-whisper-jax.hf.space (inference by TPU). You can set up the Whisper-JAX first, the source is in Github. You may want to configure Github Action to push etc. Once that is up and running, you can put the Gradio URL string.

Hey @facehuggerthesecond ! @epireve is exactly right here - you can find some more detailed instructions on this README https://github.com/sanchit-gandhi/whisper-jax#creating-an-endpoint

Sign up or log in to comment