ink-witch / app.py
Jingzhi Ye
Port Inkwitch game (production files) to ink-witch Space
9e67084
Raw
History Blame Contribute Delete
384 Bytes
from witch_wood.ui.server import app
if __name__ == "__main__":
# ssr_mode=False is required: this Space serves a custom HTML/JS frontend
# from `@app.get("/")` + the /static mount. With SSR on (the default when
# Node is present, as it is on HF Spaces) Gradio's Node server takes over
# "/" and the custom Inkwitch page never renders.
app.launch(ssr_mode=False)