GiantPandas commited on
Commit
1e7415a
·
verified ·
1 Parent(s): ffc9c91

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -298,7 +298,7 @@ def render_img(b64_list, idx, scale):
298
 
299
  return (
300
  f'<div style="overflow:auto;border:1px solid #ccc;'
301
- f'display:flex;justify-content:center;align-items:center;' # ① 横纵向居中
302
  f'width:100%;height:800px;">'
303
  f' <img src="{src}" '
304
  f' style="width:{percent}%;max-width:none;'
 
298
 
299
  return (
300
  f'<div style="overflow:auto;border:1px solid #ccc;'
301
+ f'justify-content:center;align-items:center;' # ① 横纵向居中
302
  f'width:100%;height:800px;">'
303
  f' <img src="{src}" '
304
  f' style="width:{percent}%;max-width:none;'