AshanGimhana
commited on
Commit
•
10f3250
1
Parent(s):
7f5e659
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,9 @@ import subprocess
|
|
3 |
|
4 |
os.system("pip install gradio==3.50")
|
5 |
os.system("pip install dlib==19.24.2")
|
|
|
|
|
|
|
6 |
|
7 |
#############################################
|
8 |
|
@@ -30,6 +33,8 @@ else:
|
|
30 |
###################################################
|
31 |
|
32 |
|
|
|
|
|
33 |
from argparse import Namespace
|
34 |
import pprint
|
35 |
import numpy as np
|
|
|
3 |
|
4 |
os.system("pip install gradio==3.50")
|
5 |
os.system("pip install dlib==19.24.2")
|
6 |
+
os.system("pip install scikit-learn")
|
7 |
+
os.system("pip install scikit-image")
|
8 |
+
|
9 |
|
10 |
#############################################
|
11 |
|
|
|
33 |
###################################################
|
34 |
|
35 |
|
36 |
+
from skimage import exposure
|
37 |
+
from skimage.filters import laplace
|
38 |
from argparse import Namespace
|
39 |
import pprint
|
40 |
import numpy as np
|