Spaces:
Running
Running
AshanGimhana
commited on
Commit
•
281e227
1
Parent(s):
ac849cd
Update app.py
Browse files
app.py
CHANGED
@@ -1,3 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import gradio as gr
|
2 |
import cv2
|
3 |
import insightface
|
|
|
1 |
+
# Dependencies
|
2 |
+
|
3 |
+
import os
|
4 |
+
|
5 |
+
os.system("pip uninstall -y gradio")
|
6 |
+
os.system("pip install gradio==3.50")
|
7 |
+
|
8 |
+
os.system("pip uninstall -y numpy")
|
9 |
+
os.system("pip install numpy==1.23.5")
|
10 |
+
|
11 |
+
|
12 |
import gradio as gr
|
13 |
import cv2
|
14 |
import insightface
|