R1000 commited on
Commit
25a00f3
·
verified ·
1 Parent(s): 9d012e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -10
app.py CHANGED
@@ -137,11 +137,9 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
137
  source_image = gr.Image(type="filepath", label="SOURCE IMAGE")
138
  with gr.Column():
139
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
140
- with gr.Row():
141
- with gr.Column():
142
- clear_button = gr.ClearButton(value="CLEAR")
143
- with gr.Column():
144
- image_button = gr.Button("START")
145
  with gr.Row():
146
  image_output = gr.Image(label="OUTPUT", height=500)
147
  clear_button.add(image_output)
@@ -156,11 +154,9 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
156
 
157
  with gr.Tab("Video: "):
158
  with gr.Row():
159
- with gr.Column():
160
- source_image_video = gr.Image(type="filepath", label="SOURCE IMAGE")
161
- with gr.Column():
162
- target_video = gr.Video(label="TARGET VIDEO")
163
- with gr.Box():
164
  skip_audio = gr.Checkbox(label="SKIP AUDIO")
165
  keep_fps = gr.Checkbox(label="KEEP FPS")
166
  keep_temp = gr.Checkbox(label="KEEP TEMP")
 
137
  source_image = gr.Image(type="filepath", label="SOURCE IMAGE")
138
  with gr.Column():
139
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
140
+ with gr.Row(scale=2):
141
+ clear_button = gr.ClearButton(value="CLEAR")
142
+ image_button = gr.Button("START")
 
 
143
  with gr.Row():
144
  image_output = gr.Image(label="OUTPUT", height=500)
145
  clear_button.add(image_output)
 
154
 
155
  with gr.Tab("Video: "):
156
  with gr.Row():
157
+ source_image_video = gr.Image(type="filepath", label="SOURCE IMAGE")
158
+ target_video = gr.Video(label="TARGET VIDEO")
159
+ with gr.Row():
 
 
160
  skip_audio = gr.Checkbox(label="SKIP AUDIO")
161
  keep_fps = gr.Checkbox(label="KEEP FPS")
162
  keep_temp = gr.Checkbox(label="KEEP TEMP")