Spaces:
Sleeping
Sleeping
Moibe
commited on
Commit
•
5a28353
1
Parent(s):
159f3d7
Added Cuda Features
Browse files- app.py +1 -1
- requirements.txt +3 -2
app.py
CHANGED
@@ -115,7 +115,7 @@ def greet(input1, input2):
|
|
115 |
print("source_path: ", source_path)
|
116 |
print("target_path: ", target_path)
|
117 |
|
118 |
-
command = f"python run.py -s {source_path} -t {target_path} -o {result_path} --frame-processor {procesador}"
|
119 |
print(command)
|
120 |
time.sleep(1)
|
121 |
proc = os.popen(command)
|
|
|
115 |
print("source_path: ", source_path)
|
116 |
print("target_path: ", target_path)
|
117 |
|
118 |
+
command = f"python run.py -s {source_path} -t {target_path} -o {result_path} --frame-processor {procesador} --execution-provider cuda"
|
119 |
print(command)
|
120 |
time.sleep(1)
|
121 |
proc = os.popen(command)
|
requirements.txt
CHANGED
@@ -6,9 +6,10 @@ psutil==5.9.5
|
|
6 |
tk==0.1.0
|
7 |
customtkinter==5.2.0
|
8 |
tkinterdnd2==0.3.0
|
9 |
-
onnxruntime==1.15.0
|
10 |
tensorflow==2.13.0
|
11 |
opennsfw2==0.10.2
|
12 |
protobuf==4.23.4
|
13 |
tqdm==4.65.0
|
14 |
-
zipfile36
|
|
|
|
6 |
tk==0.1.0
|
7 |
customtkinter==5.2.0
|
8 |
tkinterdnd2==0.3.0
|
9 |
+
#onnxruntime==1.15.0
|
10 |
tensorflow==2.13.0
|
11 |
opennsfw2==0.10.2
|
12 |
protobuf==4.23.4
|
13 |
tqdm==4.65.0
|
14 |
+
zipfile36
|
15 |
+
onnxruntime-gpu==1.15.1
|