Spaces:
Running
Running
Update app.py
#2
by
camenduru
- opened
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, restore_faces, seed
|
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, seed):
|
11 |
request_time = datetime.datetime.now()
|
12 |
restore_faces = bool(restore_faces)
|
13 |
print(f"restore_faces: {restore_faces}, type: {type(restore_faces)}")
|