victorisgeek commited on
Commit
377f9e5
·
verified ·
1 Parent(s): cebb107

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -2,10 +2,8 @@ import gradio as gr
2
  import cv2
3
  import dlib
4
  import numpy as np
5
- import subprocess
6
  import os
7
 
8
-
9
  UPLOAD_FOLDER = 'uploads'
10
  ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'mp4', 'avi'}
11
 
@@ -62,5 +60,5 @@ iface = gr.Interface(
62
  )
63
 
64
  if __name__ == "__main__":
65
-
66
- demo.queue().launch(show_error=True, share=True, server_name="0.0.0.0", server_port=7860)
 
2
  import cv2
3
  import dlib
4
  import numpy as np
 
5
  import os
6
 
 
7
  UPLOAD_FOLDER = 'uploads'
8
  ALLOWED_EXTENSIONS = {'png', 'jpg', 'jpeg', 'gif', 'mp4', 'avi'}
9
 
 
60
  )
61
 
62
  if __name__ == "__main__":
63
+ iface.queue().launch(show_error=True, share=True, server_name="0.0.0.0", server_port=7860)
64
+