Spaces:
Runtime error
Runtime error
Commit
•
114e952
1
Parent(s):
9ab148b
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,8 @@ def update_selection(selected_state: gr.SelectData):
|
|
49 |
new_placeholder = "Type a prompt! This style works for all prompts without a trigger word" if instance_prompt == "" else "Type a prompt to use your selected LoRA"
|
50 |
weight_name = sdxl_loras[selected_state.index]["weights"]
|
51 |
updated_text = f"### Selected: [{lora_repo}](https://huggingface.co/{lora_repo}) ✨"
|
|
|
|
|
52 |
use_with_diffusers = f"""
|
53 |
## Using [`{lora_repo}`](https://huggingface.co/{lora_repo})
|
54 |
|
|
|
49 |
new_placeholder = "Type a prompt! This style works for all prompts without a trigger word" if instance_prompt == "" else "Type a prompt to use your selected LoRA"
|
50 |
weight_name = sdxl_loras[selected_state.index]["weights"]
|
51 |
updated_text = f"### Selected: [{lora_repo}](https://huggingface.co/{lora_repo}) ✨"
|
52 |
+
is_compatible = sdxl_loras[selected_state.index]["is_compatible"]
|
53 |
+
|
54 |
use_with_diffusers = f"""
|
55 |
## Using [`{lora_repo}`](https://huggingface.co/{lora_repo})
|
56 |
|