Update app.py
Browse files
app.py
CHANGED
|
@@ -66,9 +66,6 @@ def inference(prompt, guidance, steps, width=512, height=512, seed=0, img=None,
|
|
| 66 |
def dummy(images, **kwargs):
|
| 67 |
return images, False
|
| 68 |
|
| 69 |
-
|
| 70 |
-
It is similar to the notebook code, but this one works for local run
|
| 71 |
-
|
| 72 |
def txt_to_img(prompt, neg_prompt, guidance, steps, width, height, generator):
|
| 73 |
|
| 74 |
result = pipe(
|
|
|
|
| 66 |
def dummy(images, **kwargs):
|
| 67 |
return images, False
|
| 68 |
|
|
|
|
|
|
|
|
|
|
| 69 |
def txt_to_img(prompt, neg_prompt, guidance, steps, width, height, generator):
|
| 70 |
|
| 71 |
result = pipe(
|