Spaces:
Running
Running
Cristóbal Hernández
commited on
Commit
·
f3418c2
1
Parent(s):
a753c54
Add application file
Browse files
app.py
CHANGED
@@ -121,15 +121,16 @@ def classify_output(item):
|
|
121 |
######## RUN GRADIO APP #################
|
122 |
#########################################
|
123 |
|
124 |
-
import re
|
125 |
|
126 |
-
# Function to remove non-ASCII characters
|
127 |
-
def remove_non_ascii(text):
|
128 |
-
return re.sub(r'[^\x00-\x7F]+', ' ', text)
|
129 |
|
130 |
|
|
|
131 |
|
132 |
-
|
|
|
|
|
|
|
|
|
133 |
|
134 |
# Apply the function to your Markdown strings
|
135 |
|
|
|
121 |
######## RUN GRADIO APP #################
|
122 |
#########################################
|
123 |
|
|
|
124 |
|
|
|
|
|
|
|
125 |
|
126 |
|
127 |
+
article_text = """
|
128 |
|
129 |
+
Just
|
130 |
+
|
131 |
+
text
|
132 |
+
|
133 |
+
"""
|
134 |
|
135 |
# Apply the function to your Markdown strings
|
136 |
|