Spaces:
Running
on
Zero
Running
on
Zero
fix
Browse files
app.py
CHANGED
|
@@ -58,7 +58,7 @@ prompt = "high quality"
|
|
| 58 |
negative_prompt_embeds,
|
| 59 |
pooled_prompt_embeds,
|
| 60 |
negative_pooled_prompt_embeds,
|
| 61 |
-
) = pipe.encode_prompt(prompt, "cuda")
|
| 62 |
|
| 63 |
|
| 64 |
@spaces.GPU(duration=16)
|
|
|
|
| 58 |
negative_prompt_embeds,
|
| 59 |
pooled_prompt_embeds,
|
| 60 |
negative_pooled_prompt_embeds,
|
| 61 |
+
) = pipe.encode_prompt(prompt, device="cuda")
|
| 62 |
|
| 63 |
|
| 64 |
@spaces.GPU(duration=16)
|