Bug fix: added gradio imports
Browse files
app.py
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
from peft import PeftModel
|
3 |
from transformers import Qwen2VLForConditionalGeneration
|
4 |
from transformers import AutoProcessor
|
|
|
5 |
|
6 |
#load the base model and finetuned adapter
|
7 |
base_model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
|
|
|
2 |
from peft import PeftModel
|
3 |
from transformers import Qwen2VLForConditionalGeneration
|
4 |
from transformers import AutoProcessor
|
5 |
+
import gradio as gr
|
6 |
|
7 |
#load the base model and finetuned adapter
|
8 |
base_model = Qwen2VLForConditionalGeneration.from_pretrained("Qwen/Qwen2-VL-2B-Instruct")
|