vignesha7 commited on
Commit
48ad800
·
verified ·
1 Parent(s): a59f37b

Bug fix: added gradio imports

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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")