Update app.py
Browse files
app.py
CHANGED
@@ -6,9 +6,10 @@ os.system("mkdir _input")
|
|
6 |
os.system("mkdir _output")
|
7 |
os.system("mkdir _outputf")
|
8 |
os.system("ls")
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
12 |
exec=True
|
13 |
if not os.path.isfile("./_input/imagem-0001.png"):
|
14 |
os.system("ffmpeg -i saidavivi2.mp4 -compression_level 10 -pred mixed -pix_fmt rgb24 -sws_flags +accurate_rnd+full_chroma_int -s 1080x1920 -r 30 ./_input/imagem-%4d.png")
|
@@ -67,6 +68,6 @@ os.system("ls")
|
|
67 |
description = "Sistema para automação。"
|
68 |
|
69 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spaces/akhaliq/GFPGAN/' target='_blank'>clone from akhaliq@huggingface with little change</a> | <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>GFPGAN Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
70 |
-
st.button('Imagem',on_click=inference)
|
71 |
|
72 |
|
|
|
6 |
os.system("mkdir _output")
|
7 |
os.system("mkdir _outputf")
|
8 |
os.system("ls")
|
9 |
+
|
10 |
+
|
11 |
+
if 'exec' not in globals():
|
12 |
+
|
13 |
exec=True
|
14 |
if not os.path.isfile("./_input/imagem-0001.png"):
|
15 |
os.system("ffmpeg -i saidavivi2.mp4 -compression_level 10 -pred mixed -pix_fmt rgb24 -sws_flags +accurate_rnd+full_chroma_int -s 1080x1920 -r 30 ./_input/imagem-%4d.png")
|
|
|
68 |
description = "Sistema para automação。"
|
69 |
|
70 |
article = "<p style='text-align: center'><a href='https://huggingface.co/spaces/akhaliq/GFPGAN/' target='_blank'>clone from akhaliq@huggingface with little change</a> | <a href='https://github.com/TencentARC/GFPGAN' target='_blank'>GFPGAN Github Repo</a></p><center><img src='https://visitor-badge.glitch.me/badge?page_id=akhaliq_GFPGAN' alt='visitor badge'></center>"
|
71 |
+
#st.button('Imagem',on_click=inference)
|
72 |
|
73 |
|