save code
This commit is contained in:
+1
-1
@@ -182,7 +182,7 @@ def takeoff_cloth_first(human_name, is_girl):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def generate_from_face(human_name, sex_girl):
|
def generate_from_face(human_name, sex_girl):
|
||||||
print('生成写真')
|
print(f'生成写真 {xiezhen_name}')
|
||||||
queue = requests.get("http://localhost:8188/queue").json()
|
queue = requests.get("http://localhost:8188/queue").json()
|
||||||
if queue["queue_running"] or queue["queue_pending"]:
|
if queue["queue_running"] or queue["queue_pending"]:
|
||||||
return None, "cur gpu is busy"
|
return None, "cur gpu is busy"
|
||||||
|
|||||||
Reference in New Issue
Block a user