Spaces:
Build error
Build error
Commit
·
fe26458
1
Parent(s):
4a9a0ec
Update app.py
Browse files
app.py
CHANGED
|
@@ -12,8 +12,8 @@ from fuzzywuzzy import fuzz
|
|
| 12 |
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]
|
|
|
|
| 12 |
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("seyia92coding/steam_games_2019.csv", error_bad_lines=False, encoding='utf-8')
|
| 17 |
# the function to extract years
|
| 18 |
def extract_year(date):
|
| 19 |
year = date[:4]
|