Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -101,10 +101,10 @@ def get_theme() -> gr.Theme:
|
|
| 101 |
)
|
| 102 |
|
| 103 |
with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
|
| 104 |
-
with gr.
|
| 105 |
gr.HTML('<center><a href="https://codegenius.me">DeepFakeAI 1.0.1</a></center>')
|
| 106 |
|
| 107 |
-
with gr.
|
| 108 |
with gr.Column(scale=3):
|
| 109 |
frame_processor_checkbox = gr.CheckboxGroup(
|
| 110 |
choices = ['face_swapper', 'face_enhancer', 'frame_enhancer'],
|
|
@@ -113,7 +113,7 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
|
|
| 113 |
)
|
| 114 |
|
| 115 |
|
| 116 |
-
with gr.
|
| 117 |
with gr.Column(scale=3):
|
| 118 |
face_analyser_direction_dropdown = gr.Dropdown(
|
| 119 |
label = 'FACE ANALYSER DIRECTION',
|
|
@@ -149,7 +149,7 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
|
|
| 149 |
with gr.Tab("Video: "):
|
| 150 |
source_image_video = gr.Image(type="filepath", label="SOURCE IMAGE")
|
| 151 |
target_video = gr.Video(label="TARGET VIDEO")
|
| 152 |
-
with gr.
|
| 153 |
skip_audio = gr.Checkbox(label="SKIP AUDIO")
|
| 154 |
keep_fps = gr.Checkbox(label="KEEP FPS")
|
| 155 |
keep_temp = gr.Checkbox(label="KEEP TEMP")
|
|
|
|
| 101 |
)
|
| 102 |
|
| 103 |
with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
|
| 104 |
+
with gr.Group():
|
| 105 |
gr.HTML('<center><a href="https://codegenius.me">DeepFakeAI 1.0.1</a></center>')
|
| 106 |
|
| 107 |
+
with gr.Group():
|
| 108 |
with gr.Column(scale=3):
|
| 109 |
frame_processor_checkbox = gr.CheckboxGroup(
|
| 110 |
choices = ['face_swapper', 'face_enhancer', 'frame_enhancer'],
|
|
|
|
| 113 |
)
|
| 114 |
|
| 115 |
|
| 116 |
+
with gr.Group():
|
| 117 |
with gr.Column(scale=3):
|
| 118 |
face_analyser_direction_dropdown = gr.Dropdown(
|
| 119 |
label = 'FACE ANALYSER DIRECTION',
|
|
|
|
| 149 |
with gr.Tab("Video: "):
|
| 150 |
source_image_video = gr.Image(type="filepath", label="SOURCE IMAGE")
|
| 151 |
target_video = gr.Video(label="TARGET VIDEO")
|
| 152 |
+
with gr.Group():
|
| 153 |
skip_audio = gr.Checkbox(label="SKIP AUDIO")
|
| 154 |
keep_fps = gr.Checkbox(label="KEEP FPS")
|
| 155 |
keep_temp = gr.Checkbox(label="KEEP TEMP")
|