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

Update app.py

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