Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def main():
|
|
14 |
|
15 |
if submitted:
|
16 |
mask_str = '[MASK]'
|
17 |
-
mask_check = re.search(
|
18 |
|
19 |
if mask_check:
|
20 |
st.success("Submitted")
|
|
|
14 |
|
15 |
if submitted:
|
16 |
mask_str = '[MASK]'
|
17 |
+
mask_check = bool(re.search(mask_str, masked))
|
18 |
|
19 |
if mask_check:
|
20 |
st.success("Submitted")
|