VoiceAPI / app.py
Harshil748's picture
Initial HF Spaces deployment - downloads models at runtime
ecde958
raw
history blame contribute delete
284 Bytes
"""
HuggingFace Spaces entry point for VoiceAPI
"""
import os
import sys
sys.path.insert(0, os.path.dirname(__file__))
from src.api import app
if __name__ == "__main__":
import uvicorn
port = int(os.environ.get("PORT", 7860))
uvicorn.run(app, host="0.0.0.0", port=port)