Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
·
228b8bd
1
Parent(s):
7cf7282
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ pystuck.run_server()
|
|
4 |
|
5 |
|
6 |
import os
|
|
|
7 |
from huggingface_hub import hf_hub_download
|
8 |
os.system("pip -qq install facenet_pytorch")
|
9 |
from facenet_pytorch import MTCNN
|
@@ -153,6 +154,5 @@ gr.Interface(
|
|
153 |
article=article,
|
154 |
examples=[['bill.png','version 0.3'],['keanu.png','version 0.4'],['will.jpeg','version 0.4']],
|
155 |
allow_flagging=False,
|
156 |
-
allow_screenshot=False
|
157 |
-
enable_queue=True
|
158 |
-
).launch()
|
|
|
4 |
|
5 |
|
6 |
import os
|
7 |
+
os.system("pip freeze")
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
os.system("pip -qq install facenet_pytorch")
|
10 |
from facenet_pytorch import MTCNN
|
|
|
154 |
article=article,
|
155 |
examples=[['bill.png','version 0.3'],['keanu.png','version 0.4'],['will.jpeg','version 0.4']],
|
156 |
allow_flagging=False,
|
157 |
+
allow_screenshot=False
|
158 |
+
).launch(enable_queue=True,cache_examples=True)
|
|