rjiang12 commited on
Commit
b265742
·
1 Parent(s): 40b3d27

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -47,6 +47,8 @@ def generate_answer_git(processor, model, image, question):
47
  print(generated_ids)
48
  generated_answer = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)
49
  print(generated_answer)
 
 
50
 
51
  return 'haha'
52
 
 
47
  print(generated_ids)
48
  generated_answer = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)
49
  print(generated_answer)
50
+ generated_answer1 = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)[1]
51
+ print(generated_answer1)
52
 
53
  return 'haha'
54