Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import os
|
|
|
2 |
from huggingface_hub import hf_hub_download
|
3 |
os.system("pip -qq install facenet_pytorch")
|
4 |
from facenet_pytorch import MTCNN
|
@@ -144,12 +145,6 @@ with block:
|
|
144 |
|
145 |
with gr.Tab("version four"):
|
146 |
with gr.Row():
|
147 |
-
gr.Markdown("""
|
148 |
-
# Detect Disease From Scan
|
149 |
-
With this model you can lorem ipsum
|
150 |
-
- ipsum 1
|
151 |
-
- ipsum 2
|
152 |
-
""")
|
153 |
facepaint4 = gr.inputs.Image(type="pil",shape=(512,512))
|
154 |
faceout4 = gr.outputs.Image(type="pil")
|
155 |
face_run = gr.Button("Run")
|
|
|
1 |
import os
|
2 |
+
os.system("pip freeze")
|
3 |
from huggingface_hub import hf_hub_download
|
4 |
os.system("pip -qq install facenet_pytorch")
|
5 |
from facenet_pytorch import MTCNN
|
|
|
145 |
|
146 |
with gr.Tab("version four"):
|
147 |
with gr.Row():
|
|
|
|
|
|
|
|
|
|
|
|
|
148 |
facepaint4 = gr.inputs.Image(type="pil",shape=(512,512))
|
149 |
faceout4 = gr.outputs.Image(type="pil")
|
150 |
face_run = gr.Button("Run")
|