kristinazk commited on
Commit
fcdc94c
·
verified ·
1 Parent(s): db568be

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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()