salomonsky commited on
Commit
38ad96d
1 Parent(s): 8d839e9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -7
app.py CHANGED
@@ -27,13 +27,12 @@ JS = """function () {
27
  }
28
  }"""
29
 
30
- basemodel = "XLabs-AI/flux-RealismLora"
31
-
32
- def enable_lora(lora_add):
33
- if not lora_add:
34
- return basemodel
35
- else:
36
- return lora_add
37
 
38
  async def generate_image(
39
  prompt:str,
 
27
  }
28
  }"""
29
 
30
+ lora_add = gr.Textbox(
31
+ label="Add Flux LoRA",
32
+ info="Copy the HF LoRA model name here",
33
+ lines=1,
34
+ value="XLabs-AI/flux-RealismLora"
35
+ )
 
36
 
37
  async def generate_image(
38
  prompt:str,