OzzyGT HF Staff commited on
Commit
80401cc
·
1 Parent(s): 432e607
Files changed (1) hide show
  1. app.py +1 -1
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)