Spaces:
Running
Running
Commit
·
8da2c26
1
Parent(s):
9bccf96
Update app.py
Browse files
app.py
CHANGED
@@ -157,9 +157,10 @@ def predict(input):
|
|
157 |
|
158 |
css = '''
|
159 |
.container {max-width: 100%;margin: auto;padding-top: 1.5rem}
|
160 |
-
.output-image, .input-image, .image-preview {height: 600px !important}
|
161 |
-
#image_upload{
|
162 |
-
#image_upload [data-testid="image"],
|
|
|
163 |
#mask_radio .gr-form{background:transparent; border: none}
|
164 |
#word_mask{margin-top: .75em !important}
|
165 |
#word_mask textarea:disabled{opacity: 0.3}
|
|
|
157 |
|
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}
|