Spaces:
Paused
Paused
Update app_gradio.py
Browse files- app_gradio.py +2 -1
app_gradio.py
CHANGED
@@ -178,7 +178,8 @@ def generate_output(image, apply_filter, prompt: str, num_seeds: int = 3, lambda
|
|
178 |
if apply_filter == True:
|
179 |
print("APPLYING FILTER")
|
180 |
# Apply filtering (assuming filter function is imported)
|
181 |
-
|
|
|
182 |
else:
|
183 |
print("NOT APPLYING FILTER")
|
184 |
return generated_gifs
|
|
|
178 |
if apply_filter == True:
|
179 |
print("APPLYING FILTER")
|
180 |
# Apply filtering (assuming filter function is imported)
|
181 |
+
filtered_gifs = filter(generated_gifs, temp_image_path)
|
182 |
+
return filtered_gifs
|
183 |
else:
|
184 |
print("NOT APPLYING FILTER")
|
185 |
return generated_gifs
|