vam commited on
Commit
06437c9
·
verified ·
1 Parent(s): b84a9cc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -54,7 +54,7 @@ def create_meme(prompt):
54
  closest_text_idx = np.argmax(similarities)
55
 
56
  img_path = meme_filename[closest_text_idx]
57
- img = mpimg.imread(f'memegen/kaggle/input/memedata/{img_path}')
58
 
59
  white_space_height = 100
60
  white_space = np.ones((white_space_height, img.shape[1], img.shape[2]), dtype=img.dtype) * 255
 
54
  closest_text_idx = np.argmax(similarities)
55
 
56
  img_path = meme_filename[closest_text_idx]
57
+ img = mpimg.imread(f'kaggle/input/memedata/{img_path}')
58
 
59
  white_space_height = 100
60
  white_space = np.ones((white_space_height, img.shape[1], img.shape[2]), dtype=img.dtype) * 255