Update main.py
Browse files
main.py
CHANGED
|
@@ -7,8 +7,6 @@ app = FastAPI()
|
|
| 7 |
app = FastAPI()
|
| 8 |
auth="2aZeouhaHuJSXZQ9WatZC3LQieO_6ckrQG71twNRutGxaLh3H"
|
| 9 |
ngrok.set_auth_token(auth)
|
| 10 |
-
ngrok_path = "/path/to/your/directory/ngrok"
|
| 11 |
-
ngrok.set_bin_path(ngrok_path)
|
| 12 |
# ngrok_tunnel will store the NgrokTunnel object
|
| 13 |
ngrok_tunnel = ngrok.connect(8000)
|
| 14 |
print('Public URL:', ngrok_tunnel.public_url)
|
|
|
|
| 7 |
app = FastAPI()
|
| 8 |
auth="2aZeouhaHuJSXZQ9WatZC3LQieO_6ckrQG71twNRutGxaLh3H"
|
| 9 |
ngrok.set_auth_token(auth)
|
|
|
|
|
|
|
| 10 |
# ngrok_tunnel will store the NgrokTunnel object
|
| 11 |
ngrok_tunnel = ngrok.connect(8000)
|
| 12 |
print('Public URL:', ngrok_tunnel.public_url)
|