renatotn7 commited on
Commit
92ed922
·
1 Parent(s): 26e6c5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +9 -0
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