Spaces:
Runtime error
Runtime error
guardiancc
commited on
Commit
•
b6269e1
1
Parent(s):
361d431
Update app.py
Browse files
app.py
CHANGED
@@ -1949,7 +1949,7 @@ def generate_image_to_image(prompt_mash, image_input_path, image_strength, steps
|
|
1949 |
return final_image
|
1950 |
|
1951 |
@spaces.GPU(duration=100)
|
1952 |
-
def run_lora(
|
1953 |
if selected_index is None:
|
1954 |
raise gr.Error("You must select a LoRA before proceeding.🧨")
|
1955 |
selected_lora = loras[selected_index]
|
|
|
1949 |
return final_image
|
1950 |
|
1951 |
@spaces.GPU(duration=100)
|
1952 |
+
def run_lora(image_input, image_strength, cfg_scale, steps, selected_index, randomize_seed, seed, width, height, lora_scale, prompt = "", progress=gr.Progress(track_tqdm=True)):
|
1953 |
if selected_index is None:
|
1954 |
raise gr.Error("You must select a LoRA before proceeding.🧨")
|
1955 |
selected_lora = loras[selected_index]
|