is there a way to download the generate results via gradio_client in python?

#2
by masszhou - opened

Thank you so much for sharing this inspiring example!

I am new to Huggingface. recently I am struggling to figure out if I can use Huggingface Space as an inference deployment for audio processing.
I am not sure if it even possible or allowed by huggingface.
for example in your example, I can access the space via python gradio client to upload a audio and run the /predict entry point.
however it seems not possible to download the results via gradio client from HuggingFace Space.
all returned results are path string for container in HuggingFace Space.
the only way is via Web GUI to download by clicking, which is not possible to deploy as a service for audio processing.
May I ask if downloading the audio results via gradio client possible by Huggingface Space? or forbidden due to security reason?

Thank you!

Your need to confirm your account before you can post a new comment.

Sign up or log in to comment