Spaces:
Runtime error
Runtime error
Annas Dev
commited on
Commit
•
d0dae0b
1
Parent(s):
1c880cf
add requriements
Browse files- app.py +15 -0
- requirements.txt +41 -0
app.py
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import gradio as gr
|
2 |
+
|
3 |
+
|
4 |
+
def get_model():
|
5 |
+
return ''
|
6 |
+
|
7 |
+
|
8 |
+
def run(img):
|
9 |
+
print('running...')
|
10 |
+
return img
|
11 |
+
|
12 |
+
|
13 |
+
gr.Markdown('Upload Foto Wajah Kamu (Pastikan hanya terdapat SATU wajah pada)')
|
14 |
+
iface = gr.Interface(fn=run, inputs=["image"], outputs="image")
|
15 |
+
iface.launch()
|
requirements.txt
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
aiohttp==3.8.3
|
2 |
+
aiosignal==1.3.1
|
3 |
+
altair==4.2.0
|
4 |
+
anyio==3.6.2
|
5 |
+
async-timeout==4.0.2
|
6 |
+
click==8.1.3
|
7 |
+
contourpy==1.0.6
|
8 |
+
cycler==0.11.0
|
9 |
+
fastapi==0.88.0
|
10 |
+
ffmpy==0.3.0
|
11 |
+
fonttools==4.38.0
|
12 |
+
frozenlist==1.3.3
|
13 |
+
fsspec==2022.11.0
|
14 |
+
gradio==3.14.0
|
15 |
+
h11==0.14.0
|
16 |
+
httpcore==0.16.2
|
17 |
+
httpx==0.23.1
|
18 |
+
kiwisolver==1.4.4
|
19 |
+
linkify-it-py==1.0.3
|
20 |
+
markdown-it-py==2.1.0
|
21 |
+
matplotlib==3.6.2
|
22 |
+
mdit-py-plugins==0.3.3
|
23 |
+
mdurl==0.1.2
|
24 |
+
multidict==6.0.3
|
25 |
+
numpy==1.23.5
|
26 |
+
orjson==3.8.3
|
27 |
+
pandas==1.5.2
|
28 |
+
Pillow==9.3.0
|
29 |
+
pycryptodome==3.16.0
|
30 |
+
pydantic==1.10.2
|
31 |
+
pydub==0.25.1
|
32 |
+
python-multipart==0.0.5
|
33 |
+
pytz==2022.7
|
34 |
+
rfc3986==1.5.0
|
35 |
+
sniffio==1.3.0
|
36 |
+
starlette==0.22.0
|
37 |
+
toolz==0.12.0
|
38 |
+
uc-micro-py==1.0.1
|
39 |
+
uvicorn==0.20.0
|
40 |
+
websockets==10.4
|
41 |
+
yarl==1.8.2
|