Update app.py
Browse files
app.py
CHANGED
|
@@ -23,6 +23,8 @@ DEFAULT_PROMPT = "A stunning portrait of a woman with flowing red hair, piercing
|
|
| 23 |
# Si vous voulez ajouter des LoRA, utilisez des repositories communautaires comme:
|
| 24 |
# - XLabs-AI/flux-RealismLora
|
| 25 |
# - Shakker-Labs/FLUX.1-dev-LoRA-collections
|
|
|
|
|
|
|
| 26 |
# etc.
|
| 27 |
|
| 28 |
lora_repo = None
|
|
@@ -32,7 +34,7 @@ def load_lora(repo_id, filename):
|
|
| 32 |
"""Charge un LoRA depuis un repository HuggingFace"""
|
| 33 |
global lora_repo, lora_path
|
| 34 |
if not repo_id or not filename:
|
| 35 |
-
return "
|
| 36 |
|
| 37 |
try:
|
| 38 |
lora_path = hf_hub_download(repo_id=repo_id, filename=filename)
|
|
|
|
| 23 |
# Si vous voulez ajouter des LoRA, utilisez des repositories communautaires comme:
|
| 24 |
# - XLabs-AI/flux-RealismLora
|
| 25 |
# - Shakker-Labs/FLUX.1-dev-LoRA-collections
|
| 26 |
+
# Abzaloff/Flux_Art_Fusion
|
| 27 |
+
# XLabs-AI/flux-RealismLora
|
| 28 |
# etc.
|
| 29 |
|
| 30 |
lora_repo = None
|
|
|
|
| 34 |
"""Charge un LoRA depuis un repository HuggingFace"""
|
| 35 |
global lora_repo, lora_path
|
| 36 |
if not repo_id or not filename:
|
| 37 |
+
return "JordanCo/xlabs-ai-flux-realismlora"
|
| 38 |
|
| 39 |
try:
|
| 40 |
lora_path = hf_hub_download(repo_id=repo_id, filename=filename)
|