Nottybro commited on
Commit
8464010
·
verified ·
1 Parent(s): 800ba2b

Add app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ async def update_tunnel(request: Request):
86
  new_url = body.get("tunnel_url", "")
87
  if not new_url:
88
  return JSONResponse({"error": "tunnel_url required"}, status_code=400)
89
- space_id = os.environ.get("SPACE_ID", "")
90
  hf_token = os.environ.get("HF_TOKEN", "")
91
  try:
92
  async with httpx.AsyncClient(timeout=15) as c:
 
86
  new_url = body.get("tunnel_url", "")
87
  if not new_url:
88
  return JSONResponse({"error": "tunnel_url required"}, status_code=400)
89
+ space_id = os.environ.get("MY_SPACE_ID", "")
90
  hf_token = os.environ.get("HF_TOKEN", "")
91
  try:
92
  async with httpx.AsyncClient(timeout=15) as c: