Update app.py
Browse files
app.py
CHANGED
@@ -473,7 +473,7 @@ def generate_image(prompt_mash, steps, seed, cfg_scale, width, height, progress)
|
|
473 |
return final_image
|
474 |
|
475 |
@spaces.GPU(duration=75)
|
476 |
-
def run_lora(prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scale_2, lora_scale_3, lora_scale_4, randomize_seed, seed, width, height, loras_state, progress=gr.Progress(track_tqdm=True)):
|
477 |
print("run_lora function called.") # Debugging statement
|
478 |
print(f"Inputs received - Prompt: {prompt}, CFG Scale: {cfg_scale}, Steps: {steps}, Seed: {seed}, Width: {width}, Height: {height}") # Debugging statement
|
479 |
|
|
|
473 |
return final_image
|
474 |
|
475 |
@spaces.GPU(duration=75)
|
476 |
+
def run_lora(prompt, cfg_scale, steps, selected_indices, lora_scale_1, lora_scale_2, lora_scale_3, lora_scale_4, randomize_seed, seed, width, height, loras_state, image_input=None, progress=gr.Progress(track_tqdm=True)):
|
477 |
print("run_lora function called.") # Debugging statement
|
478 |
print(f"Inputs received - Prompt: {prompt}, CFG Scale: {cfg_scale}, Steps: {steps}, Seed: {seed}, Width: {width}, Height: {height}") # Debugging statement
|
479 |
|