Update app.py
Browse files
app.py
CHANGED
@@ -13,9 +13,6 @@ torch.cuda.empty_cache()
|
|
13 |
torch.cuda.set_per_process_memory_fraction(0.8) # Adjust the fraction as needed
|
14 |
|
15 |
app = FastAPI(root_path="/api/v1")
|
16 |
-
|
17 |
-
ngrok.set_auth_token("1XtU01EKWysplGQ8fz54lVUQpnQ_3KKhw6YNQ5E85rxdkgXx4e")
|
18 |
-
ngrok.kill()
|
19 |
ngrok_tunnel = ngrok.connect(7860)
|
20 |
print(ngrok_tunnel.public_url)
|
21 |
|
|
|
13 |
torch.cuda.set_per_process_memory_fraction(0.8) # Adjust the fraction as needed
|
14 |
|
15 |
app = FastAPI(root_path="/api/v1")
|
|
|
|
|
|
|
16 |
ngrok_tunnel = ngrok.connect(7860)
|
17 |
print(ngrok_tunnel.public_url)
|
18 |
|