Spaces:
Running
on
T4
Running
on
T4
Ahsen Khaliq
commited on
Commit
·
7769341
1
Parent(s):
69f7852
Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ pystuck.run_server()
|
|
4 |
|
5 |
|
6 |
import os
|
7 |
-
os.system("pip
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
os.system("pip -qq install facenet_pytorch")
|
10 |
from facenet_pytorch import MTCNN
|
@@ -155,4 +155,5 @@ gr.Interface(
|
|
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 |
-
|
|
|
|
4 |
|
5 |
|
6 |
import os
|
7 |
+
os.system("pip install gradio==2.4.6")
|
8 |
from huggingface_hub import hf_hub_download
|
9 |
os.system("pip -qq install facenet_pytorch")
|
10 |
from facenet_pytorch import MTCNN
|
|
|
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 |
+
enable_queue=True
|
159 |
+
).launch()
|