mdanish commited on
Commit
254e461
·
verified ·
1 Parent(s): 5b446ed

Upload app.py with huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +7 -0
app.py CHANGED
@@ -1,5 +1,12 @@
1
  import streamlit as st
2
  from PIL import Image
 
 
 
 
 
 
 
3
 
4
  file = st.file_uploader('Upload An Image')
5
 
 
1
  import streamlit as st
2
  from PIL import Image
3
+ import numpy as np
4
+
5
+
6
+ modelpath = '20241204-ams-no-env-open_clip_ViT-H-14-378-quickgelu.npz'
7
+
8
+ model = np.load(modelpath)
9
+ st.write(model['walkability_vecs'].shape)
10
 
11
  file = st.file_uploader('Upload An Image')
12