Spaces:
Running
on
Zero
Running
on
Zero
import os | |
os.chdir(os.path.dirname(os.path.abspath(__file__))) | |
os.system("bash install.sh") | |
from app.app import * | |
init_models() | |
demo = init_blocks() | |
demo.launch(server_name="0.0.0.0", server_port=7860, allowed_paths=["."], show_error=True, ssr_mode=False) | |