Spaces:
Running on Zero
MMAudio Demo Data Handling/Retention?
Hi, thanks for your question.
We do not keep data, except temporarily for formatting conversion and visualization. The source code is here if you wish to check: https://huggingface.co/spaces/hkchengrex/MMAudio/tree/main
Hugging Face might store the store, and I have no visibility on that. You would have to check their terms of service.
Moreover, you can always host it locally, fully offline, using our code here: https://github.com/hkchengrex/MMAudio
Thank you for your reply!
As an interim test, I created a sample and saved the link. It's still available to view over 24 hours later. Is this due to how HF's ephemeral filesystem works? Per the code, it seems the original file gets staged. Do you have a process in place to clear both source/final output files or is this all handled by HF?
Thanks for testing this. HF space calls our pre-defined function when the user sends a generate request, and our function returns a path to a temporary file. Since there are no callbacks after this finishes, and there is no "main loop" in our code, we have no control over the lifetime of the output. Our generation function is essentially stateless. I think the data retention policy in this case depends largely on HF.
It appears the output files are dumped to a specific directory. I'm not familiar with how HF runs your model on the backend, but the code eludes to this. Is this not the case?
Thank you again for your time.