kalpniks commited on
Commit
03616e9
·
verified ·
1 Parent(s): bc5eebf

Upload folder using huggingface_hub

Browse files
Files changed (2) hide show
  1. app.py +3 -2
  2. requirements.txt +1 -0
app.py CHANGED
@@ -3,7 +3,8 @@ import os
3
  from collections import Counter
4
  import time
5
  import traceback
6
- from transformers import AutoImageProcessor, SiglipForImageClassification
 
7
  from PIL import Image
8
  import torch
9
  import cv2
@@ -175,7 +176,7 @@ if uploaded_file is not None:
175
  else:
176
  st.info("Please upload a video file to start the translation.")
177
 
178
- # st.markdown("--- # ---") # Temporarily removed this line
179
 
180
  # --- Section for Live Webcam ---
181
  st.subheader("Live ASL Translation from Webcam")
 
3
  from collections import Counter
4
  import time
5
  import traceback
6
+ from transformers import AutoImageProcessor
7
+ from transformers import SiglipForImageClassification
8
  from PIL import Image
9
  import torch
10
  import cv2
 
176
  else:
177
  st.info("Please upload a video file to start the translation.")
178
 
179
+ # The line st.markdown("--- # ---") was causing a SyntaxError, temporarily removed for testing.
180
 
181
  # --- Section for Live Webcam ---
182
  st.subheader("Live ASL Translation from Webcam")
requirements.txt CHANGED
@@ -7,3 +7,4 @@ Pillow
7
  streamlit_webrtc
8
  av==12.0.0
9
  numpy
 
 
7
  streamlit_webrtc
8
  av==12.0.0
9
  numpy
10
+ huggingface_hub==0.20.0