Update webui.py
Browse files
webui.py
CHANGED
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|
2 |
|
3 |
import os
|
4 |
import time
|
5 |
-
import
|
6 |
import pyngrok
|
7 |
|
8 |
from modules import timer
|
@@ -34,7 +34,7 @@ def ngrok_start(ngrokTokenFile: str, port: int, address_name: str, should_run: b
|
|
34 |
else:
|
35 |
print('skip start ngrok')
|
36 |
|
37 |
-
ngrok_start(ngrokTokenFile,7860,'',ngrok_use)
|
38 |
|
39 |
startup_timer = timer.startup_timer
|
40 |
startup_timer.record("launcher")
|
|
|
2 |
|
3 |
import os
|
4 |
import time
|
5 |
+
import pycloudflared
|
6 |
import pyngrok
|
7 |
|
8 |
from modules import timer
|
|
|
34 |
else:
|
35 |
print('skip start ngrok')
|
36 |
|
37 |
+
ngrok_start(ngrokTokenFile,7860,'ngrok_url:',ngrok_use)
|
38 |
|
39 |
startup_timer = timer.startup_timer
|
40 |
startup_timer.record("launcher")
|