tts_new / app.py
nexusbert's picture
Update app.py
62c3dde verified
Raw
History Blame
346 Bytes
"""
HuggingFace Spaces entry point
"""
import sys
import os
# Add the current directory to Python path
sys.path.insert(0, os.path.dirname(__file__))
# Import main application
from main import app
# Export the app for HuggingFace Spaces
if __name__ == "__main__":
import uvicorn
uvicorn.run(app, host="0.0.0.0", port=7860, workers=1)