kaushalya commited on
Commit
59c524d
1 Parent(s): d27f40c

Fix loading the updated model

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ from medclip.modeling_hybrid_clip import FlaxHybridCLIP
11
 
12
  @st.cache(allow_output_mutation=True)
13
  def load_model():
14
- model = FlaxHybridCLIP.from_pretrained("flax-community/medclip-roco", _do_init=False)
15
  processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
16
  return model, processor
17
 
 
11
 
12
  @st.cache(allow_output_mutation=True)
13
  def load_model():
14
+ model, _ = FlaxHybridCLIP.from_pretrained("flax-community/medclip-roco", _do_init=False)
15
  processor = CLIPProcessor.from_pretrained("openai/clip-vit-base-patch32")
16
  return model, processor
17