yizhangliu commited on
Commit
3d656cb
·
1 Parent(s): 8da2c26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -158,10 +158,9 @@ def predict(input):
158
  css = '''
159
  .container {max-width: 100%;margin: auto;padding-top: 1.5rem}
160
  .output-image, .input-image, .image-preview {height: 600px !important;object-fit: contain;}
161
- #image_upload{height: 600px !important;object-fit: contain;}
162
- #image_upload [data-testid="image"],
163
- #image_upload [data-testid="image"] > div{min-height: 600px}
164
- #mask_radio .gr-form{background:transparent; border: none}
165
  #word_mask{margin-top: .75em !important}
166
  #word_mask textarea:disabled{opacity: 0.3}
167
  .footer {margin-bottom: 45px;margin-top: 35px;text-align: center;border-bottom: 1px solid #e5e5e5}
 
158
  css = '''
159
  .container {max-width: 100%;margin: auto;padding-top: 1.5rem}
160
  .output-image, .input-image, .image-preview {height: 600px !important;object-fit: contain;}
161
+ #image_upload{height: 610px !important;object-fit: contain;}
162
+ #image_upload [data-testid="image"] > div{height: 620px !important;object-fit: contain;}
163
+ #mask_radio .gr-form{background:transparent; border: none; color:#00ff00}
 
164
  #word_mask{margin-top: .75em !important}
165
  #word_mask textarea:disabled{opacity: 0.3}
166
  .footer {margin-bottom: 45px;margin-top: 35px;text-align: center;border-bottom: 1px solid #e5e5e5}