sound-broken / run.py
mitvho09's picture
Upload Space app
edb671a verified
Raw
History Blame Contribute Delete
346 Bytes
"""Launcher script for the app."""
import os
os.environ["SOUNDBROKEN_MOCK"] = "1"
os.environ["SOUNDBROKEN_PORT"] = "8090"
import sys
sys.path.insert(0, os.path.dirname(__file__))
from app import demo
print("Building UI... OK")
print(f"Starting on http://127.0.0.1:8090")
demo.launch(server_port=8090, server_name="127.0.0.1", show_error=True)