surokpro2 commited on
Commit
fc6e7d7
1 Parent(s): 3cb415b
Files changed (1) hide show
  1. app.py +0 -3
app.py CHANGED
@@ -70,9 +70,6 @@ def create_prompt_part(pipe, saes_dict, demo):
70
  @spaces.GPU
71
  def image_gen(prompt):
72
  lock.acquire()
73
- pipe.to('cuda')
74
- for sae in saes_dict.values:
75
- sae.to('cuda')
76
  try:
77
  images, cache = pipe.run_with_cache(
78
  prompt,
 
70
  @spaces.GPU
71
  def image_gen(prompt):
72
  lock.acquire()
 
 
 
73
  try:
74
  images, cache = pipe.run_with_cache(
75
  prompt,