R1000 commited on
Commit
d9f4628
·
verified ·
1 Parent(s): 6a59f2d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -108,8 +108,8 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
108
  gr.HTML('<center><a href="https://codegenius.me">DeepFakeAI 1.0.1</a></center>')
109
 
110
  with gr.Box():
111
- with gr.Row(scale=5):
112
- with gr.Column(scale=2):
113
  frame_processor_checkbox = gr.CheckboxGroup(
114
  choices = ['face_swapper', 'face_enhancer', 'frame_enhancer'],
115
  label = 'FRAME PROCESSORS',
@@ -145,7 +145,7 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
145
  clear_button = gr.ClearButton(value="CLEAR")
146
  with gr.Row():
147
  with gr.Column():
148
- image_output = gr.Image(elem_id="image_output", label="OUTPUT")
149
  clear_button.add(image_output)
150
 
151
  image_button.click(
@@ -168,7 +168,7 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
168
  keep_temp = gr.Checkbox(label="KEEP TEMP")
169
  video_button = gr.Button("START")
170
  clear_video_button = gr.ClearButton(value="CLEAR")
171
- video_output = gr.Video(elem_id="image_output", label="OUTPUT")
172
  clear_video_button.add(video_output)
173
  video_button.click(
174
  run,
 
108
  gr.HTML('<center><a href="https://codegenius.me">DeepFakeAI 1.0.1</a></center>')
109
 
110
  with gr.Box():
111
+ with gr.Row():
112
+ with gr.Column():
113
  frame_processor_checkbox = gr.CheckboxGroup(
114
  choices = ['face_swapper', 'face_enhancer', 'frame_enhancer'],
115
  label = 'FRAME PROCESSORS',
 
145
  clear_button = gr.ClearButton(value="CLEAR")
146
  with gr.Row():
147
  with gr.Column():
148
+ image_output = gr.Image(elem_id="image_output", label="OUTPUT", height=300)
149
  clear_button.add(image_output)
150
 
151
  image_button.click(
 
168
  keep_temp = gr.Checkbox(label="KEEP TEMP")
169
  video_button = gr.Button("START")
170
  clear_video_button = gr.ClearButton(value="CLEAR")
171
+ video_output = gr.Video(label="OUTPUT")
172
  clear_video_button.add(video_output)
173
  video_button.click(
174
  run,