Spaces:
Build error
Build error
seyia92coding
commited on
Commit
•
27f2d60
1
Parent(s):
fe26458
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ from sklearn.feature_extraction.text import TfidfVectorizer
|
|
13 |
import gradio as gr
|
14 |
from datasets import load_dataset
|
15 |
#dataset = load_dataset('csv', data_files="steam-clean-games.csv") #seyia92coding/steam_games_2019.csv
|
16 |
-
df = pd.read_csv("
|
17 |
# the function to extract years
|
18 |
def extract_year(date):
|
19 |
year = date[:4]
|
|
|
13 |
import gradio as gr
|
14 |
from datasets import load_dataset
|
15 |
#dataset = load_dataset('csv', data_files="steam-clean-games.csv") #seyia92coding/steam_games_2019.csv
|
16 |
+
df = pd.read_csv("steam-clean-games.csv", error_bad_lines=False, encoding='utf-8')
|
17 |
# the function to extract years
|
18 |
def extract_year(date):
|
19 |
year = date[:4]
|