randydev commited on
Commit
27015b8
1 Parent(s): b2caf67

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -148,7 +148,7 @@ async def upload_file(file: UploadFile = File(...)):
148
 
149
  return JSONResponse(
150
  status_code=200,
151
- content={"url": f"https://{os.getenv('SPACE_ID')}.hf.space/uploads/{unique_filename}"}
152
  )
153
  except Exception as e:
154
  return JSONResponse(
 
148
 
149
  return JSONResponse(
150
  status_code=200,
151
+ content={"url": f"https://randydev-ryuzaki-api.hf.space/uploads/{unique_filename}"}
152
  )
153
  except Exception as e:
154
  return JSONResponse(