Moibe commited on
Commit
3b6387c
1 Parent(s): 8f8baa8

Fix interface

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -7,8 +7,6 @@ import zipfile36 as zipfile
7
 
8
  def save_images_as_zip(path_foto, filename, plataforma):
9
 
10
- print("Entré a la función que hace los zips...")
11
-
12
  with zipfile.ZipFile(filename, "w") as zip_file:
13
  for foto in os.listdir(path_foto):
14
  print("La foto en os.listdir es: ", foto)
@@ -204,8 +202,8 @@ fn=perform, inputs=[gr.Image(), gr.Image()], outputs=[gr.Image(), gr.Image()]
204
  # )
205
 
206
  #1 output: video.
207
- demo = gr.Interface(
208
- fn=perform, inputs=[gr.Image(), gr.Video(), gr.CheckboxGroup(["face_swapper","face_enhancer"], label="Processor")], outputs=[gr.Video()]
209
- )
210
 
211
  demo.launch()
 
7
 
8
  def save_images_as_zip(path_foto, filename, plataforma):
9
 
 
 
10
  with zipfile.ZipFile(filename, "w") as zip_file:
11
  for foto in os.listdir(path_foto):
12
  print("La foto en os.listdir es: ", foto)
 
202
  # )
203
 
204
  #1 output: video.
205
+ # demo = gr.Interface(
206
+ # fn=perform, inputs=[gr.Image(), gr.Video(), gr.CheckboxGroup(["face_swapper","face_enhancer"], label="Processor")], outputs=[gr.Video()]
207
+ # )
208
 
209
  demo.launch()