Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -159,9 +159,6 @@ def setup_model(name, lora_state=None, lora_scale=1.0):
|
|
159 |
pipe.setup_text_encoder(clip_skip, local_te)
|
160 |
return pipe
|
161 |
|
162 |
-
# precache on huggingface
|
163 |
-
for model in models:
|
164 |
-
setup_model(model[0])
|
165 |
|
166 |
def error_str(error, title="Error"):
|
167 |
return (
|
|
|
159 |
pipe.setup_text_encoder(clip_skip, local_te)
|
160 |
return pipe
|
161 |
|
|
|
|
|
|
|
162 |
|
163 |
def error_str(error, title="Error"):
|
164 |
return (
|