Spaces:
Runtime error
Runtime error
Upload app.py
Browse files
app.py
CHANGED
@@ -34,8 +34,8 @@ def load_embeddings(embeddings_path):
|
|
34 |
|
35 |
@st.cache_resource
|
36 |
def load_path_clip():
|
37 |
-
model = VisionTextDualEncoderModel.from_pretrained("
|
38 |
-
processor = AutoProcessor.from_pretrained("
|
39 |
return model, processor
|
40 |
|
41 |
st.title('PLIP Image Search')
|
|
|
34 |
|
35 |
@st.cache_resource
|
36 |
def load_path_clip():
|
37 |
+
model = VisionTextDualEncoderModel.from_pretrained("vinid/plip")
|
38 |
+
processor = AutoProcessor.from_pretrained("vinid/plip")
|
39 |
return model, processor
|
40 |
|
41 |
st.title('PLIP Image Search')
|