GSoftTTS commited on
Commit
4f42773
·
1 Parent(s): 606a303

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1378,7 +1378,7 @@ if uploaded_file is not None:
1378
  st.pyplot()
1379
  # sử dụng equalization histogram
1380
  mask = 1 - mask
1381
- dilated = gaussian(dilate(mask), sigma=50, truncate=0.2)
1382
 
1383
  im = np.expand_dims(img * (1 - dilated), axis=0)
1384
  im = tf.convert_to_tensor(im, dtype=tf.float32)
 
1378
  st.pyplot()
1379
  # sử dụng equalization histogram
1380
  mask = 1 - mask
1381
+ dilated = gaussian(dilate(mask), sigma=50, truncate=0.3)
1382
 
1383
  im = np.expand_dims(img * (1 - dilated), axis=0)
1384
  im = tf.convert_to_tensor(im, dtype=tf.float32)