Spaces:
Running on Zero
Running on Zero
Launch without server-side rendering
Browse filesGradio's launch check of the page through the Node proxy can time out while the model loads, which crashes the app at startup.
245 unmodified lines246247248249245 unmodified linesprocess_fn=process_fn,)demo.queue().launch(show_error=True, pwa=True)245 unmodified lines246247248249250251252245 unmodified linesprocess_fn=process_fn,)# Server-side rendering puts a Node proxy in front of every request, and Gradio's launch# check of the page through it can time out while the model loads, which crashes the app.# HARP calls the API alone, so nothing is lost without it.demo.queue().launch(show_error=True, pwa=True, ssr_mode=False)
app.py+4-1