roy214 commited on
Commit
ec373c2
·
verified ·
1 Parent(s): 369238a

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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, "r") as f:
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")