fffiloni commited on
Commit
8c2e68c
·
verified ·
1 Parent(s): de71836

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -32,8 +32,10 @@ def image_vision(image_input_path, prompt):
32
  'tokenizer': tokenizer,
33
  }
34
  return_dict = model.predict_forward(**input_dict)
 
35
  answer = return_dict["prediction"] # the text format answer
36
- print(answer)
 
37
 
38
  def main_infer(image_input_path, prompt):
39
 
 
32
  'tokenizer': tokenizer,
33
  }
34
  return_dict = model.predict_forward(**input_dict)
35
+ print(return_dict)
36
  answer = return_dict["prediction"] # the text format answer
37
+
38
+ return answer
39
 
40
  def main_infer(image_input_path, prompt):
41