Spaces:
Sleeping
Sleeping
File size: 486 Bytes
929f41f d4074fa 929f41f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | """Hugging Face Spaces entry point for Audio Video Generator."""
import os
import sys
# Add src to path for HF Spaces
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "src"))
# Set Hugging Face cache dir for models
os.environ["HF_HOME"] = "/tmp/huggingface"
os.environ["TORCH_HOME"] = "/tmp/torch"
from audio_video_generator.web.gradio_ui import launch_ui
if __name__ == "__main__":
# Launch with Hugging Face Spaces settings
launch_ui(host="0.0.0.0", port=7860)
|