Jonny001 commited on
Commit
2053b1e
·
verified ·
1 Parent(s): 7377126

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -1,5 +1,3 @@
1
- # -* coding:UTF-8 -*
2
- # !/usr/bin/env python
3
  import numpy as np
4
  import gradio as gr
5
  import roop.globals
@@ -66,6 +64,6 @@ def swap_face(source_file, target_file,doFaceEnhancer):
66
 
67
 
68
  app = gr.Interface(
69
- fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(label="face_enhancer?", info="do face enhancer?")], outputs="image", theme="prithivMLmods/Minecraft-Theme"
70
  )
71
  app.launch()
 
 
 
1
  import numpy as np
2
  import gradio as gr
3
  import roop.globals
 
64
 
65
 
66
  app = gr.Interface(
67
+ fn=swap_face, inputs=[gr.Image(), gr.Image(),gr.Checkbox(info="Apply Face Enhancer")], outputs="image", theme="NoCrypt/miku", description="Sorry for the inconvenience. The model is currently running using CPU, which might affect performance. We appreciate your understanding."
68
  )
69
  app.launch()