chips commited on
Commit
9736f41
·
1 Parent(s): 0158ac0

Change method to get for make base

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def greet_json():
17
 
18
  #endpoints related to base image generation
19
 
20
- @app.post("/makeBaseImage")
21
  async def make_base_image(character_lora: str, character_keyword: str, outfit_desc: str, pose_id: int ):
22
  print("make base image")
23
  result = base_generator.create_image(character_lora, character_keyword, outfit_desc, pose_id)
 
17
 
18
  #endpoints related to base image generation
19
 
20
+ @app.get("/makeBaseImage")
21
  async def make_base_image(character_lora: str, character_keyword: str, outfit_desc: str, pose_id: int ):
22
  print("make base image")
23
  result = base_generator.create_image(character_lora, character_keyword, outfit_desc, pose_id)