Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ async def root():
|
|
| 18 |
return {"message": "API is running"}
|
| 19 |
|
| 20 |
|
| 21 |
-
@app.post("/enhance-img")
|
| 22 |
async def enhance_img(file: UploadFile = File(...)):
|
| 23 |
try:
|
| 24 |
data = await file.read()
|
|
|
|
| 18 |
return {"message": "API is running"}
|
| 19 |
|
| 20 |
|
| 21 |
+
@app.post("/api/enhance-img")
|
| 22 |
async def enhance_img(file: UploadFile = File(...)):
|
| 23 |
try:
|
| 24 |
data = await file.read()
|