AlexWortega commited on
Commit
fc1a178
1 Parent(s): 0127e28

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -9,6 +9,8 @@ from rudolph.pipelines import generate_codebooks, self_reranking_by_image, self_
9
  from rudolph.pipelines import zs_clf
10
  import gradio as gr
11
  from rudolph import utils
 
 
12
  device = 'cpu'
13
 
14
  model = get_rudolph_model('350M', fp16=True, device=device)
 
9
  from rudolph.pipelines import zs_clf
10
  import gradio as gr
11
  from rudolph import utils
12
+ from PIL import Image
13
+
14
  device = 'cpu'
15
 
16
  model = get_rudolph_model('350M', fp16=True, device=device)