ming 3 lat temu
rodzic
commit
d99ba39554
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      api/main.py

+ 2 - 2
api/main.py

@@ -67,8 +67,8 @@ async def index2():
     return FileResponse('static/index2.html')
 
 @app.get("/gen_avatar")
-async def index2():
-    return FileResponse('gen_avatar.html')
+async def gen_avatar():
+    return FileResponse('static/gen_avatar.html')
 
 @app.post("/swapFace")
 async def swapFace(req:swap_req):