Spaces:
Running
Running
Saurabh Kumar
commited on
Update app.py
Browse files
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(
|