Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|
| 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(
|