Spaces:
Sleeping
Sleeping
Update src/pages/📈DatasetAnalysis.py
Browse files
src/pages/📈DatasetAnalysis.py
CHANGED
@@ -8,7 +8,7 @@ import os
|
|
8 |
|
9 |
st.set_page_config(page_title="Datasets Analysis", page_icon="👋", layout="wide")
|
10 |
|
11 |
-
data100k = os.path.abspath('"
|
12 |
|
13 |
# Preparing datafrmae
|
14 |
df = pd.read_csv(data100k)
|
@@ -62,7 +62,7 @@ for word, frequency in top_words:
|
|
62 |
corpus[word] = frequency
|
63 |
|
64 |
# Define the font file path
|
65 |
-
font1 = os.path.abspath("
|
66 |
|
67 |
# Generate the word cloud
|
68 |
wordcloud_most_common = WordCloud(
|
|
|
8 |
|
9 |
st.set_page_config(page_title="Datasets Analysis", page_icon="👋", layout="wide")
|
10 |
|
11 |
+
data100k = os.path.abspath('"../datafiles/nep_spell_100k.csv"')
|
12 |
|
13 |
# Preparing datafrmae
|
14 |
df = pd.read_csv(data100k)
|
|
|
62 |
corpus[word] = frequency
|
63 |
|
64 |
# Define the font file path
|
65 |
+
font1 = os.path.abspath("../fonts/TiroDevanagariHindi-Regular.ttf")
|
66 |
|
67 |
# Generate the word cloud
|
68 |
wordcloud_most_common = WordCloud(
|