harp-dev commited on
Commit
3d8a890
·
verified ·
1 Parent(s): 306b9ee

Shorten the comment on ssr_mode

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -234,7 +234,5 @@ if __name__ == "__main__":
234
  )
235
 
236
  print("Launching Gradio...", flush=True)
237
- # Server-side rendering puts a Node proxy in front of every request, and Gradio's launch
238
- # check of the page through it can time out while the model loads, which crashes the app.
239
- # HARP calls the API alone, so nothing is lost without it.
240
  demo.queue().launch(server_name="0.0.0.0", server_port=7860, show_error=True, pwa=True, ssr_mode=False)
 
234
  )
235
 
236
  print("Launching Gradio...", flush=True)
237
+ # Server-side rendering is off, since its launch check can crash a Space as it starts
 
 
238
  demo.queue().launch(server_name="0.0.0.0", server_port=7860, show_error=True, pwa=True, ssr_mode=False)