Spaces:
Running
on
Zero
Running
on
Zero
MaziyarPanahi
commited on
Commit
•
0e31dfe
1
Parent(s):
3890132
Update app.py (#7)
Browse files- Update app.py (ba40ea3f503a2670e091f604c5f2e4f81cd619f0)
app.py
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
3 |
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
|
|
|
4 |
import torch
|
5 |
from PIL import Image
|
6 |
import subprocess
|
|
|
1 |
import gradio as gr
|
2 |
import spaces
|
3 |
from transformers import Qwen2VLForConditionalGeneration, AutoProcessor
|
4 |
+
from qwen_vl_utils import process_vision_info
|
5 |
import torch
|
6 |
from PIL import Image
|
7 |
import subprocess
|