IntelligenzaArtificiale
commited on
Commit
·
33ecc11
1
Parent(s):
d80aa60
Update main.py
Browse files
main.py
CHANGED
@@ -105,7 +105,7 @@ async def completions(body: Body, request: Request):
|
|
105 |
def ngrok_connect():
|
106 |
from pyngrok import ngrok, conf
|
107 |
conf.set_default(conf.PyngrokConfig(ngrok_path="./ngrok"))
|
108 |
-
ngrok.set_auth_token(os.environ["ngrok_token"])
|
109 |
http_tunnel = ngrok.connect(8000)
|
110 |
print(http_tunnel.public_url)
|
111 |
|
|
|
105 |
def ngrok_connect():
|
106 |
from pyngrok import ngrok, conf
|
107 |
conf.set_default(conf.PyngrokConfig(ngrok_path="./ngrok"))
|
108 |
+
#ngrok.set_auth_token(os.environ["ngrok_token"])
|
109 |
http_tunnel = ngrok.connect(8000)
|
110 |
print(http_tunnel.public_url)
|
111 |
|