SZhanZ commited on
Commit
0c0f4a9
·
1 Parent(s): 1b1a083
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -86,7 +86,7 @@ if __name__ == "__main__":
86
  processor = AutoProcessor.from_pretrained(model_path)
87
 
88
  def gradio_interface(image, text):
89
- thinking, result_image = process_image_and_text(image, text, device)
90
  return thinking, result_image
91
 
92
  demo = gr.Interface(
 
86
  processor = AutoProcessor.from_pretrained(model_path)
87
 
88
  def gradio_interface(image, text):
89
+ thinking, result_image = process_image_and_text(image, text)
90
  return thinking, result_image
91
 
92
  demo = gr.Interface(