randydev commited on
Commit
6d72840
1 Parent(s): 0adba93

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -160,7 +160,7 @@ async def upload_file(file: UploadFile = File(...)):
160
  f.write(await file.read())
161
  return JSONResponse(
162
  status_code=200,
163
- content={"url": f"https://randydev-ryuzaki-api.hf.space/api/v1/uploads/{unique_filename}"}
164
  )
165
  except Exception as e:
166
  return JSONResponse(
 
160
  f.write(await file.read())
161
  return JSONResponse(
162
  status_code=200,
163
+ content={"url": f"https://randydev-ryuzaki-api.hf.space/uploads/{unique_filename}"}
164
  )
165
  except Exception as e:
166
  return JSONResponse(