Saurabh Kumar commited on
Commit
150e47b
·
verified ·
1 Parent(s): 97fbf7d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def init_qwen_model():
11
  _processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
12
  return _model, _processor
13
 
14
- def get_qwen_text(uploaded_file, model, processor):
15
  if uploaded_file is not None:
16
  # Open the uploaded image file
17
  image = Image.open(uploaded_file)
 
11
  _processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
12
  return _model, _processor
13
 
14
+ def get_qwen_text(uploaded_file):
15
  if uploaded_file is not None:
16
  # Open the uploaded image file
17
  image = Image.open(uploaded_file)