R1000 commited on
Commit
265276c
·
verified ·
1 Parent(s): 12d3bd2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -135,7 +135,6 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
135
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
136
  image_button = gr.Button("START")
137
  clear_button = gr.ClearButton(value="CLEAR")
138
- image_output = gr.Image(label="OUTPUT")
139
  clear_button.add(image_output)
140
 
141
  image_button.click(
@@ -143,6 +142,9 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
143
  inputs=[source_image, target_image, unique_id, frame_processor_checkbox, face_analyser_direction_dropdown, face_analyser_age_dropdown, face_analyser_gender_dropdown],
144
  outputs=image_output
145
  )
 
 
 
146
  clear_button.click(fn=clear_output, inputs=unique_id)
147
 
148
  with gr.Tab("Video: "):
 
135
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
136
  image_button = gr.Button("START")
137
  clear_button = gr.ClearButton(value="CLEAR")
 
138
  clear_button.add(image_output)
139
 
140
  image_button.click(
 
142
  inputs=[source_image, target_image, unique_id, frame_processor_checkbox, face_analyser_direction_dropdown, face_analyser_age_dropdown, face_analyser_gender_dropdown],
143
  outputs=image_output
144
  )
145
+ with gr.Box():
146
+ image_output = gr.Image(label="OUTPUT")
147
+
148
  clear_button.click(fn=clear_output, inputs=unique_id)
149
 
150
  with gr.Tab("Video: "):