Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,16 @@
|
|
1 |
import streamlit as st
|
2 |
import os
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
os.system("pip install git+https://github.com/TencentARC/GFPGAN.git")
|
4 |
|
|
|
5 |
#os.system("pip freeze")
|
6 |
#os.system("wget https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth -P .")
|
7 |
import random
|
|
|
1 |
import streamlit as st
|
2 |
import os
|
3 |
+
os.system("mkdir _input")
|
4 |
+
os.system("mkdir _output")
|
5 |
+
os.system("mkdir _outputf")
|
6 |
+
os.system("ls")
|
7 |
+
if not os.exists("./_input/imagem-0001.png"):
|
8 |
+
os.system("ffmpeg -i 2637761980.mp4 -r 1 -f image2 ./_input/imagem-%4d.png"
|
9 |
+
os.system("ls ./_input")
|
10 |
+
|
11 |
os.system("pip install git+https://github.com/TencentARC/GFPGAN.git")
|
12 |
|
13 |
+
|
14 |
#os.system("pip freeze")
|
15 |
#os.system("wget https://github.com/TencentARC/GFPGAN/releases/download/v0.2.0/GFPGANCleanv1-NoCE-C2.pth -P .")
|
16 |
import random
|