Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ torch.cuda.set_per_process_memory_fraction(0.8) # Adjust the fraction as needed
|
|
15 |
app = FastAPI(title="Deploying FastAPI Apps on Huggingface")
|
16 |
app.add_middleware(CORSMiddleware, allow_origins=['*'], allow_methods=['*'], allow_headers=['*'],)
|
17 |
|
18 |
-
ngrok.set_auth_token("
|
19 |
ngrok.kill()
|
20 |
ngrok_tunnel = ngrok.connect(7860)
|
21 |
print(ngrok_tunnel.public_url)
|
|
|
15 |
app = FastAPI(title="Deploying FastAPI Apps on Huggingface")
|
16 |
app.add_middleware(CORSMiddleware, allow_origins=['*'], allow_methods=['*'], allow_headers=['*'],)
|
17 |
|
18 |
+
ngrok.set_auth_token("1XtU01EKWysplGQ8fz54lVUQpnQ_3KKhw6YNQ5E85rxdkgXx4e")
|
19 |
ngrok.kill()
|
20 |
ngrok_tunnel = ngrok.connect(7860)
|
21 |
print(ngrok_tunnel.public_url)
|