arjunanand13 commited on
Commit
9222fae
·
verified ·
1 Parent(s): d654351

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def analyze_image(image, prompt):
43
  # }
44
 
45
  with torch.no_grad():
46
- output = model.generate(**generate_inputs, max_new_tokens=100)
47
  print(processor.decode(output[0]))
48
  result = processor.decode(output[0], skip_special_tokens=True)
49
 
 
43
  # }
44
 
45
  with torch.no_grad():
46
+ output = model.generate(**inputs, max_new_tokens=100)
47
  print(processor.decode(output[0]))
48
  result = processor.decode(output[0], skip_special_tokens=True)
49