shadowlilac commited on
Commit
62e7359
1 Parent(s): f498d50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from PIL import Image
3
  from transformers import AutoProcessor, BlipForConditionalGeneration
4
-
5
  processor = AutoProcessor.from_pretrained("shadowlilac/visor", api_key=os.getenv('HUGGING_FACE_HUB_TOKEN'))
6
  model = BlipForConditionalGeneration.from_pretrained("shadowlilac/visor", api_key=os.getenv('HUGGING_FACE_HUB_TOKEN'))
7
 
 
1
  import gradio as gr
2
  from PIL import Image
3
  from transformers import AutoProcessor, BlipForConditionalGeneration
4
+ import os
5
  processor = AutoProcessor.from_pretrained("shadowlilac/visor", api_key=os.getenv('HUGGING_FACE_HUB_TOKEN'))
6
  model = BlipForConditionalGeneration.from_pretrained("shadowlilac/visor", api_key=os.getenv('HUGGING_FACE_HUB_TOKEN'))
7