Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -36,7 +36,7 @@ def filter_string(input_string):
|
|
36 |
return filtered_string
|
37 |
|
38 |
|
39 |
-
def introduce_typos(text, typo_probability=0.
|
40 |
if not (0 <= typo_probability <= 1):
|
41 |
raise ValueError("typo_probability must be between 0.0 and 1.0")
|
42 |
|
|
|
36 |
return filtered_string
|
37 |
|
38 |
|
39 |
+
def introduce_typos(text, typo_probability=0.015):
|
40 |
if not (0 <= typo_probability <= 1):
|
41 |
raise ValueError("typo_probability must be between 0.0 and 1.0")
|
42 |
|