Spaces:
Runtime error
Runtime error
remove lora temporaly
Browse files
app.py
CHANGED
@@ -117,7 +117,8 @@ def execute(image, prompt, debug=False):
|
|
117 |
|
118 |
imgs = [ random_positioning(img), random_positioning(img)]
|
119 |
|
120 |
-
pipe
|
|
|
121 |
response = []
|
122 |
|
123 |
seed_slicer = random.randint(0, MAX_SEED)
|
@@ -144,7 +145,7 @@ def execute(image, prompt, debug=False):
|
|
144 |
generator=generator,
|
145 |
num_inference_steps=28,
|
146 |
max_sequence_length=256,
|
147 |
-
joint_attention_kwargs={"scale": 0.9},
|
148 |
).images[0]
|
149 |
|
150 |
if debug:
|
|
|
117 |
|
118 |
imgs = [ random_positioning(img), random_positioning(img)]
|
119 |
|
120 |
+
print(dir(pipe))
|
121 |
+
#pipe.load_lora_weights("XLabs-AI/flux-RealismLora", weight_name='lora.safetensors')
|
122 |
response = []
|
123 |
|
124 |
seed_slicer = random.randint(0, MAX_SEED)
|
|
|
145 |
generator=generator,
|
146 |
num_inference_steps=28,
|
147 |
max_sequence_length=256,
|
148 |
+
#joint_attention_kwargs={"scale": 0.9},
|
149 |
).images[0]
|
150 |
|
151 |
if debug:
|