xinjie.wang commited on
Commit
c417f1a
·
1 Parent(s): 779c416
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -44,10 +44,9 @@ with gr.Blocks(
44
 
45
  image_css = """
46
  <style>
47
- #img-fit .dev img {
48
- object-fit: contain !important;
49
- width: 100% !important;
50
- height: 100% !important;
51
  }
52
  </style>
53
  """
 
44
 
45
  image_css = """
46
  <style>
47
+ #img-fit .image-frame {
48
+ object-fit: contain !important;
49
+ height: 100% !important;
 
50
  }
51
  </style>
52
  """