fffiloni commited on
Commit
915a219
·
verified ·
1 Parent(s): c051c58

Update app_gradio.py

Browse files
Files changed (1) hide show
  1. 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
- return filtered_gifs = filter(generated_gifs, temp_image_path)
 
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