Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ pipe.to("cuda")
|
|
15 |
|
16 |
def greet(description,color,features,occasion,type):
|
17 |
|
18 |
-
|
19 |
|
20 |
description = 'description:' + description.replace(' ', '-')
|
21 |
|
@@ -29,7 +29,7 @@ def greet(description,color,features,occasion,type):
|
|
29 |
|
30 |
prompt += description + color + features + occasion + type
|
31 |
|
32 |
-
print(prompt)
|
33 |
image = pipe(
|
34 |
prompt,
|
35 |
width=512,
|
|
|
15 |
|
16 |
def greet(description,color,features,occasion,type):
|
17 |
|
18 |
+
prompt = 'white background '
|
19 |
|
20 |
description = 'description:' + description.replace(' ', '-')
|
21 |
|
|
|
29 |
|
30 |
prompt += description + color + features + occasion + type
|
31 |
|
32 |
+
print('prompt:',prompt)
|
33 |
image = pipe(
|
34 |
prompt,
|
35 |
width=512,
|