Spaces:
Runtime error
Runtime error
Update app.py
Browse files74 unmodified lines7576777879808153 unmodified lines13513613713813914014174 unmodified linestrigger_word = selected_lora["trigger_word"]# Load LoRA weightswith calculateDuration("Loading LoRA weights"):if "weights" in selected_lora:pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])else:53 unmodified lineswith gr.Row():randomize_seed = gr.Checkbox(True, label="Randomize seed")seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.85)gallery.select(update_selection, outputs=[prompt, selected_info, selected_index])74 unmodified lines7576777879808153 unmodified lines13513613713813914014174 unmodified linestrigger_word = selected_lora["trigger_word"]# Load LoRA weightswith calculateDuration(f"Loading LoRA weights for {selected_lora}"):if "weights" in selected_lora:pipe.load_lora_weights(lora_path, weight_name=selected_lora["weights"])else:53 unmodified lineswith gr.Row():randomize_seed = gr.Checkbox(True, label="Randomize seed")seed = gr.Slider(label="Seed", minimum=0, maximum=MAX_SEED, step=1, value=0, randomize=True)lora_scale = gr.Slider(label="LoRA Scale", minimum=0, maximum=1, step=0.01, value=0.95)gallery.select(update_selection, outputs=[prompt, selected_info, selected_index])
app.py+2-2