Spaces:
Running
Running
Commit
·
e0d899d
1
Parent(s):
96b8b6e
Update app.py (#1)
Browse files- Update app.py (97dec74f3f9cf07e44773afbe52500b93441b368)
Co-authored-by: camenduru <camenduru@users.noreply.huggingface.co>
app.py
CHANGED
@@ -7,7 +7,7 @@ import os
|
|
7 |
import random
|
8 |
import datetime
|
9 |
|
10 |
-
def generate_image(prompt, negative_prompt, scheduler, steps, width, height,
|
11 |
request_time = datetime.datetime.now()
|
12 |
restore_faces = bool(restore_faces)
|
13 |
print(f"restore_faces: {restore_faces}, type: {type(restore_faces)}")
|
|
|
7 |
import random
|
8 |
import datetime
|
9 |
|
10 |
+
def generate_image(prompt, negative_prompt, scheduler, steps, width, height, cfg, restore_faces):
|
11 |
request_time = datetime.datetime.now()
|
12 |
restore_faces = bool(restore_faces)
|
13 |
print(f"restore_faces: {restore_faces}, type: {type(restore_faces)}")
|