Spaces:
Runtime error
Runtime error
Update app.py
Browse filesremove .style() for Gardio 4.*
app.py
CHANGED
|
@@ -289,9 +289,9 @@ with gr.Blocks() as demo:
|
|
| 289 |
run = gr.Button('Generate')
|
| 290 |
|
| 291 |
with gr.Column():
|
| 292 |
-
result0 = gr.Image(type="filepath", label="Initial Word")
|
| 293 |
-
result1 = gr.Image(type="filepath", label="Optimization Process")
|
| 294 |
-
result2 = gr.Image(type="filepath", label="Final Result",visible=False)
|
| 295 |
|
| 296 |
|
| 297 |
with gr.Row():
|
|
|
|
| 289 |
run = gr.Button('Generate')
|
| 290 |
|
| 291 |
with gr.Column():
|
| 292 |
+
result0 = gr.Image(type="filepath", label="Initial Word") #.style(height=333)
|
| 293 |
+
result1 = gr.Image(type="filepath", label="Optimization Process") #.style(height=110)
|
| 294 |
+
result2 = gr.Image(type="filepath", label="Final Result",visible=False) #.style(height=333)
|
| 295 |
|
| 296 |
|
| 297 |
with gr.Row():
|