Vitrous commited on
Commit
fe473bf
·
verified ·
1 Parent(s): e8f08b1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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("Your token here")
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)