Spaces:
Sleeping
Sleeping
Update tab_manager.py
Browse files- tab_manager.py +1 -1
tab_manager.py
CHANGED
@@ -159,7 +159,7 @@ def task_oriented_bias_eval_setup(tab, modelID, imagesTab):
|
|
159 |
if not all([TOValTable["TO Values"][0].isnumeric(), TOValTable["TO Values"][1].isnumeric(), TOValTable["TO Values"][2].isnumeric()]):
|
160 |
st.error('Looks like you have entered non-numeric values! '
|
161 |
'Please enter numeric values in the table above', icon="π¨")
|
162 |
-
elif int(TOValTable["TO Values"][2]) < 8
|
163 |
st.error('Please ensure that your image resolution is 1 number greater than 8. Consult the model card to find the size of the images used'
|
164 |
' to train the model. Incompatible image resolutions may result in noisy output images', icon="π¨")
|
165 |
else:
|
|
|
159 |
if not all([TOValTable["TO Values"][0].isnumeric(), TOValTable["TO Values"][1].isnumeric(), TOValTable["TO Values"][2].isnumeric()]):
|
160 |
st.error('Looks like you have entered non-numeric values! '
|
161 |
'Please enter numeric values in the table above', icon="π¨")
|
162 |
+
elif int(TOValTable["TO Values"][2]) < 8:
|
163 |
st.error('Please ensure that your image resolution is 1 number greater than 8. Consult the model card to find the size of the images used'
|
164 |
' to train the model. Incompatible image resolutions may result in noisy output images', icon="π¨")
|
165 |
else:
|