Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
#7
by
MaziyarPanahi
- opened
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
|