Kaelan commited on
Commit
b5c6a81
·
1 Parent(s): 00fe6d7

update requirements and ubuntu extra

Browse files
Files changed (3) hide show
  1. Dockerfile +2 -0
  2. app.py +1 -1
  3. requirements.txt +2 -1
Dockerfile CHANGED
@@ -9,6 +9,8 @@ RUN apt-get update && apt-get install -y \
9
  && apt clean && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
 
 
12
  # Set up a new user named "user" with user ID 1000
13
  RUN useradd -m -u 1000 user
14
 
 
9
  && apt clean && rm -rf /var/lib/apt/lists/*
10
 
11
  RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y
12
+
13
+ RUN apt-get install ubuntu-restricted-extras
14
  # Set up a new user named "user" with user ID 1000
15
  RUN useradd -m -u 1000 user
16
 
app.py CHANGED
@@ -208,4 +208,4 @@ def vid_predict(media):
208
  demo = gr.Interface(fn=vid_predict, inputs=gr.Video(), outputs=gr.Video(), examples=examples, description=description, title='Fall detection and tracking with deep sort')
209
 
210
  if __name__ == "__main__":
211
- demo.launch(show_api=False)
 
208
  demo = gr.Interface(fn=vid_predict, inputs=gr.Video(), outputs=gr.Video(), examples=examples, description=description, title='Fall detection and tracking with deep sort')
209
 
210
  if __name__ == "__main__":
211
+ demo.launch(show_error=True)
requirements.txt CHANGED
@@ -156,6 +156,7 @@ Werkzeug
156
  wrapt==1.16.0
157
  uvicorn
158
  gunicorn
159
- gradio
 
160
  gdown
161
  zipp
 
156
  wrapt==1.16.0
157
  uvicorn
158
  gunicorn
159
+ gradio==4.8.0
160
+ gradio-client==0.7.1
161
  gdown
162
  zipp