Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,9 +19,9 @@ def validate_input(input_string):
|
|
| 19 |
|
| 20 |
# Check if input contains at least one non-numeric character
|
| 21 |
if re.match(pattern, input_string) or input_string.isdigit():
|
| 22 |
-
return False
|
| 23 |
-
else:
|
| 24 |
return True
|
|
|
|
|
|
|
| 25 |
|
| 26 |
# Define the function for mapping code
|
| 27 |
def mapping_code(user_input):
|
|
|
|
| 19 |
|
| 20 |
# Check if input contains at least one non-numeric character
|
| 21 |
if re.match(pattern, input_string) or input_string.isdigit():
|
|
|
|
|
|
|
| 22 |
return True
|
| 23 |
+
else:
|
| 24 |
+
return False
|
| 25 |
|
| 26 |
# Define the function for mapping code
|
| 27 |
def mapping_code(user_input):
|