Saurabh Kumar commited on
Commit
c42cef3
·
verified ·
1 Parent(s): 733f1e5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -2,6 +2,7 @@ from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoPro
2
  from qwen_vl_utils import process_vision_info
3
  import streamlit as st
4
  import torch
 
5
 
6
  # default: Load the model on the available device(s)
7
  model = Qwen2VLForConditionalGeneration.from_pretrained(
 
2
  from qwen_vl_utils import process_vision_info
3
  import streamlit as st
4
  import torch
5
+ from PIL import Image
6
 
7
  # default: Load the model on the available device(s)
8
  model = Qwen2VLForConditionalGeneration.from_pretrained(