Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,6 +11,7 @@ import numpy as np
|
|
| 11 |
from PIL import Image
|
| 12 |
from wordcloud import WordCloud
|
| 13 |
|
|
|
|
| 14 |
def preprocess_data(df):
|
| 15 |
df.rename(columns={'Question Asked': 'texts'}, inplace=True)
|
| 16 |
df['texts'] = df['texts'].astype(str)
|
|
|
|
| 11 |
from PIL import Image
|
| 12 |
from wordcloud import WordCloud
|
| 13 |
|
| 14 |
+
|
| 15 |
def preprocess_data(df):
|
| 16 |
df.rename(columns={'Question Asked': 'texts'}, inplace=True)
|
| 17 |
df['texts'] = df['texts'].astype(str)
|