Spaces:
Running
Running
Update app.py
Browse files
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)}")
|