Spaces:
Sleeping
Sleeping
chips
commited on
Commit
·
9736f41
1
Parent(s):
0158ac0
Change method to get for make base
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ def greet_json():
|
|
| 17 |
|
| 18 |
#endpoints related to base image generation
|
| 19 |
|
| 20 |
-
@app.
|
| 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)
|