Spaces:
Running
Running
Update app.py
Browse files
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>
|
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 |
-
|
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(
|