Spaces:
Paused
Paused
Upload Index.py
Browse files
Index.py
CHANGED
|
@@ -147,6 +147,7 @@ from pyngrok import ngrok, conf
|
|
| 147 |
conf.get_default().auth_token="2WJNWULs5bCOyJnV24WQYJEKod3_YQUbM5EGCp8sgE4aQvzi"
|
| 148 |
port = 37689
|
| 149 |
# Open a ngrok tunnel to the HTTP server
|
|
|
|
| 150 |
public_url = ngrok.connect(port).public_url
|
| 151 |
print(" * ngrok tunnel \"{}\" -> \"http://127.0.0.1:{}\"".format(public_url, port))
|
| 152 |
|
|
|
|
| 147 |
conf.get_default().auth_token="2WJNWULs5bCOyJnV24WQYJEKod3_YQUbM5EGCp8sgE4aQvzi"
|
| 148 |
port = 37689
|
| 149 |
# Open a ngrok tunnel to the HTTP server
|
| 150 |
+
conf.get_default().monitor_thread = False
|
| 151 |
public_url = ngrok.connect(port).public_url
|
| 152 |
print(" * ngrok tunnel \"{}\" -> \"http://127.0.0.1:{}\"".format(public_url, port))
|
| 153 |
|