shcho-isle commited on
Commit
61827ce
1 Parent(s): c9e8c8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from qwen_vl_utils import process_vision_info
6
  model = Qwen2VLForConditionalGeneration.from_pretrained(
7
  "Qwen/Qwen2-VL-72B-Instruct", torch_dtype="auto", device_map="auto"
8
  )
9
- processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-72B-Instruct")
10
 
11
  # Define a function to process input and generate a response
12
  def generate_response(image, text):
 
6
  model = Qwen2VLForConditionalGeneration.from_pretrained(
7
  "Qwen/Qwen2-VL-72B-Instruct", torch_dtype="auto", device_map="auto"
8
  )
9
+ processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")
10
 
11
  # Define a function to process input and generate a response
12
  def generate_response(image, text):