Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,7 @@ def load_b_lora_to_unet(pipe, content_lora_model_id: str = '', style_lora_model_
|
|
86 |
except Exception as e:
|
87 |
raise type(e)(f'failed to load_b_lora_to_unet, due to: {e}')
|
88 |
|
|
|
89 |
def load_b_loras(content_b_lora, style_b_lora):
|
90 |
|
91 |
if content_b_lora != "" and content_b_lora is not None:
|
|
|
86 |
except Exception as e:
|
87 |
raise type(e)(f'failed to load_b_lora_to_unet, due to: {e}')
|
88 |
|
89 |
+
@spaces.GPU()
|
90 |
def load_b_loras(content_b_lora, style_b_lora):
|
91 |
|
92 |
if content_b_lora != "" and content_b_lora is not None:
|