Nepjune commited on
Commit
01185b8
·
verified ·
1 Parent(s): 5199324

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ model.to(device)
11
 
12
  max_length = 16
13
  num_beams = 4
14
- gen_kwargs = ("max_length" : max_length, "num_beams" : num_beams)
15
 
16
  def predict_caption(image_paths):
17
  images = []
 
11
 
12
  max_length = 16
13
  num_beams = 4
14
+ gen_kwargs = {"max_length": max_length, "num_beams": num_beams}
15
 
16
  def predict_caption(image_paths):
17
  images = []