rjiang12 commited on
Commit
61922b8
1 Parent(s): 36f181e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def generate_answer_git(processor, model, image, question):
45
  print('sequences:')
46
  print(generated_ids.sequences)
47
  print(generated_ids)
48
- # generated_answer = processor.batch_decode(generated_ids, skip_special_tokens=True)
49
 
50
  return 'haha'
51
 
 
45
  print('sequences:')
46
  print(generated_ids.sequences)
47
  print(generated_ids)
48
+ generated_answer = processor.batch_decode(generated_ids.sequences, skip_special_tokens=True)
49
 
50
  return 'haha'
51