Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -29,8 +29,8 @@ custom_model = "fffiloni/eugene_jour_general"
|
|
29 |
|
30 |
# This is where you load your trained weights
|
31 |
pipe.load_lora_weights(custom_model, use_auth_token=True)
|
32 |
-
|
33 |
-
pipe.enable_model_cpu_offload()
|
34 |
|
35 |
def infer(image_in, prompt):
|
36 |
prompt = prompt
|
|
|
29 |
|
30 |
# This is where you load your trained weights
|
31 |
pipe.load_lora_weights(custom_model, use_auth_token=True)
|
32 |
+
pipe.to("cuda")
|
33 |
+
#pipe.enable_model_cpu_offload()
|
34 |
|
35 |
def infer(image_in, prompt):
|
36 |
prompt = prompt
|