R1000 commited on
Commit
232faa7
·
verified ·
1 Parent(s): 961d676

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -98,6 +98,10 @@ def get_theme() -> gr.Theme:
98
  block_label_text_size = '*text_sm',
99
  block_title_text_size = '*text_sm'
100
  )
 
 
 
 
101
 
102
  with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
103
  with gr.Box():
@@ -135,7 +139,7 @@ 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").style(height=600)
139
  clear_button.add(image_output)
140
 
141
  image_button.click(
 
98
  block_label_text_size = '*text_sm',
99
  block_title_text_size = '*text_sm'
100
  )
101
+
102
+ css='''
103
+ #image_ouput{min-height:600px}
104
+ '''
105
 
106
  with gr.Blocks(theme=get_theme(), title="DeepFakeAI 1.0.0") as ui:
107
  with gr.Box():
 
139
  target_image = gr.Image(type="filepath", label="TARGET IMAGE")
140
  image_button = gr.Button("START")
141
  clear_button = gr.ClearButton(value="CLEAR")
142
+ image_output = gr.Image(elem_id="image_output", label="OUTPUT")
143
  clear_button.add(image_output)
144
 
145
  image_button.click(