Huggingface space on Serverless. How to get the Gradio API string which is the same as Worker ID?
I deployed Huggingface Space which use Gradio. If I have worker ID then I can connect to the worker usually like https://${workerID}-proxy.runpod.net/
How can I either the available workerIDs or forward my request from serverless endpoint to Gradio API which uses something like:
3 Replies
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View
When you queue the job, you can get the workerID checking the queued request, and perhaps 'push' it somewhere like a txt file or even serve it via rest api and the worker can fetch it.
also worth checking the environment it might be there?
Unknown User•10mo ago
Message Not Public
Sign In & Join Server To View