Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -126,9 +126,9 @@ def infer_30(
|
|
126 |
print('-- generating image --')
|
127 |
sd_image = pipe(
|
128 |
prompt_embeds = pipe.text_encoder(input_ids)[0], #ensure that the input_ids are on the correct device.
|
129 |
-
prompt=prompt,
|
130 |
-
prompt_2=prompt,
|
131 |
-
prompt_3=prompt,
|
132 |
negative_prompt=negative_prompt_1,
|
133 |
negative_prompt_2=negative_prompt_2,
|
134 |
negative_prompt_3=negative_prompt_3,
|
@@ -182,9 +182,9 @@ def infer_60(
|
|
182 |
print('-- generating image --')
|
183 |
sd_image = pipe(
|
184 |
prompt_embeds = pipe.text_encoder(input_ids)[0], #ensure that the input_ids are on the correct device.
|
185 |
-
prompt=prompt,
|
186 |
-
prompt_2=prompt,
|
187 |
-
prompt_3=prompt,
|
188 |
negative_prompt=negative_prompt_1,
|
189 |
negative_prompt_2=negative_prompt_2,
|
190 |
negative_prompt_3=negative_prompt_3,
|
@@ -238,9 +238,9 @@ def infer_90(
|
|
238 |
print('-- generating image --')
|
239 |
sd_image = pipe(
|
240 |
prompt_embeds = pipe.text_encoder(input_ids)[0], #ensure that the input_ids are on the correct device.
|
241 |
-
prompt=prompt,
|
242 |
-
prompt_2=prompt,
|
243 |
-
prompt_3=prompt,
|
244 |
negative_prompt=negative_prompt_1,
|
245 |
negative_prompt_2=negative_prompt_2,
|
246 |
negative_prompt_3=negative_prompt_3,
|
|
|
126 |
print('-- generating image --')
|
127 |
sd_image = pipe(
|
128 |
prompt_embeds = pipe.text_encoder(input_ids)[0], #ensure that the input_ids are on the correct device.
|
129 |
+
#prompt=prompt,
|
130 |
+
#prompt_2=prompt,
|
131 |
+
#prompt_3=prompt,
|
132 |
negative_prompt=negative_prompt_1,
|
133 |
negative_prompt_2=negative_prompt_2,
|
134 |
negative_prompt_3=negative_prompt_3,
|
|
|
182 |
print('-- generating image --')
|
183 |
sd_image = pipe(
|
184 |
prompt_embeds = pipe.text_encoder(input_ids)[0], #ensure that the input_ids are on the correct device.
|
185 |
+
#prompt=prompt,
|
186 |
+
#prompt_2=prompt,
|
187 |
+
#prompt_3=prompt,
|
188 |
negative_prompt=negative_prompt_1,
|
189 |
negative_prompt_2=negative_prompt_2,
|
190 |
negative_prompt_3=negative_prompt_3,
|
|
|
238 |
print('-- generating image --')
|
239 |
sd_image = pipe(
|
240 |
prompt_embeds = pipe.text_encoder(input_ids)[0], #ensure that the input_ids are on the correct device.
|
241 |
+
#prompt=prompt,
|
242 |
+
#prompt_2=prompt,
|
243 |
+
#prompt_3=prompt,
|
244 |
negative_prompt=negative_prompt_1,
|
245 |
negative_prompt_2=negative_prompt_2,
|
246 |
negative_prompt_3=negative_prompt_3,
|