Marco commited on
Commit
31e7610
·
1 Parent(s): f35d59c

rename main.py to app.py

Browse files
Files changed (2) hide show
  1. main.py → app.py +2 -1
  2. requirements.txt +1 -1
main.py → app.py RENAMED
@@ -46,7 +46,8 @@ class OCRChatbotApp:
46
 
47
  # Initialize the WebRTC streamer with the specified constraints and video processor
48
  webrtc_ctx = webrtc_streamer(
49
- key="example",
 
50
  video_processor_factory=lambda: VideoProcessor(self.queues, self.conf_thresh, self.n, self.k),
51
  media_stream_constraints=constraints,
52
  async_processing=True,
 
46
 
47
  # Initialize the WebRTC streamer with the specified constraints and video processor
48
  webrtc_ctx = webrtc_streamer(
49
+ key="ocr",
50
+ mode=WebRtcMode.SENDRECV,
51
  video_processor_factory=lambda: VideoProcessor(self.queues, self.conf_thresh, self.n, self.k),
52
  media_stream_constraints=constraints,
53
  async_processing=True,
requirements.txt CHANGED
@@ -63,7 +63,7 @@ silpa_common==0.3
63
  six==1.16.0
64
  smmap==5.0.1
65
  soundex==1.1.3
66
- spellchecker==0.4
67
  streamlit==1.36.0
68
  streamlit-webrtc==0.47.7
69
  sympy==1.13.1
 
63
  six==1.16.0
64
  smmap==5.0.1
65
  soundex==1.1.3
66
+ pyspellchecker==0.4
67
  streamlit==1.36.0
68
  streamlit-webrtc==0.47.7
69
  sympy==1.13.1