Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,7 @@ pipe_prior_redux = FluxPriorReduxPipeline.from_pretrained(
|
|
| 28 |
torch_dtype=torch.bfloat16
|
| 29 |
).to("cuda")
|
| 30 |
|
| 31 |
-
examples = [[Image.open("mona_lisa.jpg"), "pink hair, at the beach", "",
|
| 32 |
|
| 33 |
@spaces.GPU
|
| 34 |
def infer(control_image, prompt, image_2, prompt_2, reference_scale= 0.03 ,
|
|
@@ -189,7 +189,7 @@ Hyper FLUX 8 Steps LoRA](https://huggingface.co/ByteDance/Hyper-SD)
|
|
| 189 |
|
| 190 |
gr.Examples(
|
| 191 |
examples=examples,
|
| 192 |
-
inputs=[input_image, prompt,
|
| 193 |
outputs=[result],
|
| 194 |
fn=infer,
|
| 195 |
)
|
|
|
|
| 28 |
torch_dtype=torch.bfloat16
|
| 29 |
).to("cuda")
|
| 30 |
|
| 31 |
+
examples = [[Image.open("mona_lisa.jpg"), "pink hair, at the beach", "", 0.35]]
|
| 32 |
|
| 33 |
@spaces.GPU
|
| 34 |
def infer(control_image, prompt, image_2, prompt_2, reference_scale= 0.03 ,
|
|
|
|
| 189 |
|
| 190 |
gr.Examples(
|
| 191 |
examples=examples,
|
| 192 |
+
inputs=[input_image, prompt, prompt_2, reference_scale],
|
| 193 |
outputs=[result],
|
| 194 |
fn=infer,
|
| 195 |
)
|