Spaces:
Paused
Paused
Doron Adler
commited on
Commit
•
46bda0c
1
Parent(s):
394fcda
pip install --upgrade pip
Browse files- .gitignore +0 -1
- app.py +2 -1
- requirements.txt +0 -1
.gitignore
CHANGED
@@ -1,2 +1 @@
|
|
1 |
__pycache__
|
2 |
-
gradio_queue.db
|
|
|
1 |
__pycache__
|
|
app.py
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
import os
|
|
|
|
|
2 |
os.system("pip install dlib")
|
3 |
import sys
|
4 |
import PIL
|
5 |
from PIL import Image, ImageOps, ImageFile
|
6 |
import numpy as np
|
7 |
-
import onnxruntime as rt
|
8 |
from pathlib import Path
|
9 |
import collections
|
10 |
from typing import Union, List
|
|
|
1 |
import os
|
2 |
+
os.system("pip install --upgrade pip")
|
3 |
+
import onnxruntime as rt
|
4 |
os.system("pip install dlib")
|
5 |
import sys
|
6 |
import PIL
|
7 |
from PIL import Image, ImageOps, ImageFile
|
8 |
import numpy as np
|
|
|
9 |
from pathlib import Path
|
10 |
import collections
|
11 |
from typing import Union, List
|
requirements.txt
CHANGED
@@ -3,6 +3,5 @@ opencv-python-headless
|
|
3 |
Pillow
|
4 |
scikit-image
|
5 |
onnxruntime
|
6 |
-
ninja
|
7 |
scipy
|
8 |
cmake
|
|
|
3 |
Pillow
|
4 |
scikit-image
|
5 |
onnxruntime
|
|
|
6 |
scipy
|
7 |
cmake
|