Spaces:
Build error
Build error
woods-today
commited on
Commit
·
5233da8
1
Parent(s):
c64b66e
Working on it
Browse files- routers/training.py +1 -1
routers/training.py
CHANGED
@@ -28,7 +28,7 @@ class ActionBody(BaseModel):
|
|
28 |
guidance_scale: float
|
29 |
|
30 |
@router.post("/perform-action")
|
31 |
-
async def
|
32 |
|
33 |
response = requests.get(actionBody.url)
|
34 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|
|
|
28 |
guidance_scale: float
|
29 |
|
30 |
@router.post("/perform-action")
|
31 |
+
async def performAction(actionBody: ActionBody):
|
32 |
|
33 |
response = requests.get(actionBody.url)
|
34 |
init_image = Image.open(BytesIO(response.content)).convert("RGB")
|