Connection Timeout at Gradio WebUI, where to download the actual output video?

#7
by alex-bbs - opened

I have been able to generate Talking Head videos for 10 or 20 seconds audio clip in my Cloned HuggingFace space.
However, when I was using 27 second long audio to generate a Talk Head video ,
there is a "Connection Error" message in Talking Head box at the end of generation.

The generation of video is successful based on the Logs:

loaded weight from ./pretrained_models/hallo/net.pth
Moviepy - Building video output-e0e55df5-0a1a-438a-9dda-665ee71f29e2.mp4.
MoviePy - Writing audio in output-e0e55df5-0a1a-438a-9dda-665ee71f29e2TEMP_MPY_wvf_snd.mp3
MoviePy - Done.
Moviepy - Writing video output-e0e55df5-0a1a-438a-9dda-665ee71f29e2.mp4

Moviepy - Done !
Moviepy - video ready output-e0e55df5-0a1a-438a-9dda-665ee71f29e2.mp4

My question: can I still download that "mp4" file somewhere else, other than Gradio WebUI?
Thanks.

if its generating an mp4, you can use medial downloader for firefox to download it , it will find out if there is a video in the page..

oh , I dont think thats possible.. I dont know if the spaces let you store files ..

I have actually figured this out.
Here is the example URL where one can download the MP4 directly:

https://your-hallo-space.hf.space/file=/tmp/gradio/3a1834dec1e89b1df49ffbe647439404a6579494/output-144201fd-32a2-42c5-beaa-14687e4f0914.mp4

Both "/tmp/gradio/3a1834dec1e89b1df49ffbe647439404a6579494/" and "output-144201fd-32a2-42c5-beaa-14687e4f0914.mp4" are displayed on the Log file of the space.

Sign up or log in to comment