SemanticTypography commited on
Commit
d0d36e0
·
verified ·
1 Parent(s): 7b05925

Update app.py

Browse files

remove .style() for Gardio 4.*

Files changed (1) hide show
  1. app.py +3 -3
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").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():
 
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():