Spaces:
Sleeping
Sleeping
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
|
@@ -129,7 +129,7 @@ processor = CLIPProcessor.from_pretrained(
|
|
| 129 |
use_auth_token=hf_token
|
| 130 |
)
|
| 131 |
|
| 132 |
-
with open(mapping_path, "
|
| 133 |
id_map = json.load(f)
|
| 134 |
|
| 135 |
st.title("Fashion Product Image-Text Retrieval")
|
|
|
|
| 129 |
use_auth_token=hf_token
|
| 130 |
)
|
| 131 |
|
| 132 |
+
with open(mapping_path, "rb") as f:
|
| 133 |
id_map = json.load(f)
|
| 134 |
|
| 135 |
st.title("Fashion Product Image-Text Retrieval")
|