Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,11 +19,9 @@ def get_word_frequency(text):
|
|
19 |
with open('Setup.md', 'r') as file:
|
20 |
text = file.read()
|
21 |
|
22 |
-
# Parse the markdown using the markdown library
|
23 |
-
html = markdown.markdown(text)
|
24 |
|
25 |
# Display the parsed markdown
|
26 |
-
st.markdown(
|
27 |
|
28 |
# Get the word frequency of the markdown text
|
29 |
word_frequency = get_word_frequency(text)
|
|
|
19 |
with open('Setup.md', 'r') as file:
|
20 |
text = file.read()
|
21 |
|
|
|
|
|
22 |
|
23 |
# Display the parsed markdown
|
24 |
+
st.markdown(text, unsafe_allow_html=True)
|
25 |
|
26 |
# Get the word frequency of the markdown text
|
27 |
word_frequency = get_word_frequency(text)
|