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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -278,11 +278,12 @@ def image_processing(image, filter_type):
278
 
279
  return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
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
 
287
 
288
 
 
278
 
279
  return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
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
 
289