Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ import utils
|
|
18 |
|
19 |
@st.cache(hash_funcs={FlaxHybridCLIP: lambda _: None})
|
20 |
def get_model():
|
21 |
-
return FlaxHybridCLIP.from_pretrained("clip-italian/clip-italian
|
22 |
|
23 |
|
24 |
@st.cache(hash_funcs={transformers.models.bert.tokenization_bert_fast.BertTokenizerFast: lambda _: None})
|
@@ -54,6 +54,7 @@ def get_image_features():
|
|
54 |
|
55 |
# CLIP Italian Demo
|
56 |
## HF-Flax Community Week
|
|
|
57 |
"""
|
58 |
|
59 |
query = st.text_input("Insert an italian query text here...")
|
|
|
18 |
|
19 |
@st.cache(hash_funcs={FlaxHybridCLIP: lambda _: None})
|
20 |
def get_model():
|
21 |
+
return FlaxHybridCLIP.from_pretrained("clip-italian/clip-italian")
|
22 |
|
23 |
|
24 |
@st.cache(hash_funcs={transformers.models.bert.tokenization_bert_fast.BertTokenizerFast: lambda _: None})
|
|
|
54 |
|
55 |
# CLIP Italian Demo
|
56 |
## HF-Flax Community Week
|
57 |
+
|
58 |
"""
|
59 |
|
60 |
query = st.text_input("Insert an italian query text here...")
|