Spaces:
Build error
Build error
Commit
·
db8d030
1
Parent(s):
baace85
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ 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("seyia92coding/steam_games_2019.csv")
|
16 |
df = pd.read_csv(dataset, error_bad_lines=False, encoding='utf-8')
|
17 |
# the function to extract years
|
18 |
def extract_year(date):
|
|
|
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="seyia92coding/steam_games_2019.csv")
|
16 |
df = pd.read_csv(dataset, error_bad_lines=False, encoding='utf-8')
|
17 |
# the function to extract years
|
18 |
def extract_year(date):
|