refoundd commited on
Commit
1d41a2f
·
verified ·
1 Parent(s): 937a8ae

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -65,8 +65,8 @@ class EndpointHandler:
65
  self.pipe.vae, mode="max-autotune-no-cudagraphs",
66
  )
67
  # ngrok
68
- self.public_url = ngrok.connect(5000).public_url
69
- subprocess.Popen(['ngrok', 'http', '5000'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
70
 
71
  logger.info("Ngrok is running in the background.")
72
 
 
65
  self.pipe.vae, mode="max-autotune-no-cudagraphs",
66
  )
67
  # ngrok
68
+ self.public_url = ngrok.connect(6000).public_url
69
+ subprocess.Popen(['ngrok', 'http', '6000'], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
70
 
71
  logger.info("Ngrok is running in the background.")
72