Spaces:
Running on Zero
Running on Zero
| 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) | |