ManishThota commited on
Commit
a4001c8
·
verified ·
1 Parent(s): 1c6e643

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -56,7 +56,7 @@ def predict_answer(image, question, max_tokens):
56
 
57
  return tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip()
58
 
59
- def gradio_predict(image, question, max_tokens=25):
60
  answer = predict_answer(image, question, max_tokens)
61
  return answer
62
 
 
56
 
57
  return tokenizer.decode(output_ids[input_ids.shape[1]:], skip_special_tokens=True).strip()
58
 
59
+ def gradio_predict(image, question, max_tokens):
60
  answer = predict_answer(image, question, max_tokens)
61
  return answer
62