Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -280,7 +280,7 @@ def image_processing(image, filter_type):
|
|
280 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
281 |
|
282 |
model="models/dvyio/flux-lora-film-noir"
|
283 |
-
imagegen = pipeline(
|
284 |
|
285 |
def image_gen(image):
|
286 |
return )(image)[0][βImageβ]
|
|
|
280 |
return cv2.cvtColor(output, cv2.COLOR_BGR2RGB) if len(output.shape) == 3 else output
|
281 |
|
282 |
model="models/dvyio/flux-lora-film-noir"
|
283 |
+
imagegen = pipeline("imagegen", model)
|
284 |
|
285 |
def image_gen(image):
|
286 |
return )(image)[0][βImageβ]
|