Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -278,7 +278,8 @@ 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 |
if custom_model == "models/dvyio/flux-lora-film-noir"
|
283 |
gr.load("models/XLabs-AI/flux-RealismLora")
|
284 |
elif custom_model == "models/XLabs-AI/flux-RealismLora"
|
|
|
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"
|