Jonny001 commited on
Commit
6fde80b
·
verified ·
1 Parent(s): 4d6ed23

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -64,8 +64,8 @@ def swap_face(source_file, target_file, doFaceEnhancer):
64
  return output_path
65
 
66
 
67
- html_section_1 = "<div><h1>Welcome to the Face Swap App</h1></div>"
68
- html_section_2 = "<div><p>Upload your source and target images to swap faces. Optionally, use the face enhancer feature.</p></div>"
69
  html_section_3 = """<div>
70
  <a href="https://ziverr.xyz/monica" target="_blank" style="display: inline-block;">
71
  <img decoding="async" alt="banner" src="https://ziverr.xyz/wp-content/uploads/2024/06/PASSIVE-3.gif">
@@ -81,7 +81,7 @@ html_section_3 = """<div>
81
  app = gr.Blocks()
82
 
83
  with app:
84
- gr.HTML(html_section_1)
85
  gr.HTML(html_section_2)
86
  gr.HTML(html_section_3)
87
  gr.Interface(
 
64
  return output_path
65
 
66
 
67
+ #html_section_1 = "<div><h1>Welcome to the Face Swap App</h1></div>"
68
+ html_section_2 = "<div><p>This model is running on CPU an might be slow.</p></div>"
69
  html_section_3 = """<div>
70
  <a href="https://ziverr.xyz/monica" target="_blank" style="display: inline-block;">
71
  <img decoding="async" alt="banner" src="https://ziverr.xyz/wp-content/uploads/2024/06/PASSIVE-3.gif">
 
81
  app = gr.Blocks()
82
 
83
  with app:
84
+ # gr.HTML(html_section_1)
85
  gr.HTML(html_section_2)
86
  gr.HTML(html_section_3)
87
  gr.Interface(