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