Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -63,12 +63,11 @@ def swap_face(source_file, target_file, doFaceEnhancer):
|
|
63 |
start()
|
64 |
return output_path
|
65 |
|
66 |
-
app = gr.Blocks()
|
67 |
|
68 |
with app:
|
69 |
gr.Interface(
|
70 |
fn=swap_face,
|
71 |
-
theme="Nymbo/Alyx_Theme",
|
72 |
inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],
|
73 |
outputs="image"
|
74 |
)
|
|
|
63 |
start()
|
64 |
return output_path
|
65 |
|
66 |
+
app = gr.Blocks(theme="Nymbo/Alyx_Theme")
|
67 |
|
68 |
with app:
|
69 |
gr.Interface(
|
70 |
fn=swap_face,
|
|
|
71 |
inputs=[gr.Image(), gr.Image(), gr.Checkbox(label="face_enhancer?", info="do face enhancer?")],
|
72 |
outputs="image"
|
73 |
)
|