DigiP-AI commited on
Commit
45a05fc
·
verified ·
1 Parent(s): 59019a4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -10
app.py CHANGED
@@ -280,9 +280,9 @@ def image_processing(image, filter_type):
280
 
281
  def models(model, custom_model):
282
  #Custom Models
283
- if custom_model == "models/dvyio/flux-lora-film-noir"
284
- gr.load("models/XLabs-AI/flux-RealismLora")
285
- elif custom_model == "models/XLabs-AI/flux-RealismLora"
286
  gr.load("models/XLabs-AI/flux-RealismLora")
287
 
288
 
@@ -300,13 +300,6 @@ with gr.Blocks(theme=theme, css=css) as app:
300
  gr.HTML("<center><h6>🎨 Image Studio</h6></center>")
301
  with gr.Tab("Text to Image"):
302
  with gr.Row():
303
- def models(model, custom_model)
304
- if custom_model == "models/dvyio/flux-lora-film-noir"
305
- gr.load("models/XLabs-AI/flux-RealismLora")
306
- elif custom_model == "models/XLabs-AI/flux-RealismLora"
307
-
308
-
309
- with gr.Row():
310
  custom_model = gr.Radio(label="Model", choices=[ "models/XLabs-AI/flux-RealismLora", "models/dvyio/flux-lora-film-noir"])
311
  #gr.load("models/digiplay/AnalogMadness-realistic-model-v7")
312
  gr.HTML("<center><b>Flux</b></center>")
 
280
 
281
  def models(model, custom_model):
282
  #Custom Models
283
+ if custom_model == "models/dvyio/flux-lora-film-noir":
284
+ gr.load("models/dvyio/flux-lora-film-noir")
285
+ elif custom_model == "models/XLabs-AI/flux-RealismLora":
286
  gr.load("models/XLabs-AI/flux-RealismLora")
287
 
288
 
 
300
  gr.HTML("<center><h6>🎨 Image Studio</h6></center>")
301
  with gr.Tab("Text to Image"):
302
  with gr.Row():
 
 
 
 
 
 
 
303
  custom_model = gr.Radio(label="Model", choices=[ "models/XLabs-AI/flux-RealismLora", "models/dvyio/flux-lora-film-noir"])
304
  #gr.load("models/digiplay/AnalogMadness-realistic-model-v7")
305
  gr.HTML("<center><b>Flux</b></center>")