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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -4
app.py CHANGED
@@ -100,7 +100,7 @@ def get_theme() -> gr.Theme:
100
  )
101
 
102
  css='''
103
- #image_output{max-height:300px}
104
  '''
105
 
106
  with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
@@ -141,11 +141,14 @@ with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
141
  source_image = gr.Image(type="filepath", label="SOURCE IMAGE")
142
  with gr.Column():
143
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
144
- image_button = gr.Button("START")
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(
 
100
  )
101
 
102
  css='''
103
+ #image_output{max-height:500px}
104
  '''
105
 
106
  with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
 
141
  source_image = gr.Image(type="filepath", label="SOURCE IMAGE")
142
  with gr.Column():
143
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
 
 
144
  with gr.Row():
145
  with gr.Column():
146
+ image_button = gr.Button("START")
147
+ with gr.Column():
148
+ clear_button = gr.ClearButton(value="CLEAR")
149
+ with gr.Row():
150
+ with gr.Column():
151
+ image_output = gr.Image(elem_id="image_output", label="OUTPUT", height=500)
152
  clear_button.add(image_output)
153
 
154
  image_button.click(