Beasto commited on
Commit
63c7ceb
·
1 Parent(s): 7bb1717

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ model = load_model('HandSignClassifier (2).h5')
10
  f = st.file_uploader("Choose a Video")
11
  array = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','del','nothing','space']
12
  # Read the video file from the file-like object
13
- if f is not none:
14
  img = Image.open(f)
15
  img = img.resize((256,256))
16
  img = np.reshape(img,(1,256,256,3))
 
10
  f = st.file_uploader("Choose a Video")
11
  array = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','del','nothing','space']
12
  # Read the video file from the file-like object
13
+ if f is not None:
14
  img = Image.open(f)
15
  img = img.resize((256,256))
16
  img = np.reshape(img,(1,256,256,3))