Spaces:
Running
Running
Update main.py
Browse files
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://
|
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(
|