wkplhc commited on
Commit
77d74e9
·
verified ·
1 Parent(s): c86ea4a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -193,8 +193,8 @@ def create_interface():
193
  label="处理后的GIF帧",
194
  show_label=True,
195
  elem_id="gallery",
196
- grid_cols=2, # 替代原来的style(grid=[2])
197
- height="auto" # 直接作为参数设置高度
198
  )
199
 
200
  with gr.Row():
 
193
  label="处理后的GIF帧",
194
  show_label=True,
195
  elem_id="gallery",
196
+ columns=2, # 适配旧版本Gradio的参数名称
197
+ height="auto"
198
  )
199
 
200
  with gr.Row():