Spaces:
Running
on
Zero
Running
on
Zero
fixing
Browse files
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,
|