Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -7,9 +7,9 @@ from datasets import load_dataset
|
|
7 |
from sklearn.metrics.pairwise import cosine_similarity
|
8 |
|
9 |
import plotly.express as px
|
10 |
-
Secret_token = os.getenv('
|
11 |
|
12 |
-
dataset = load_dataset("FDSRashid/embed_matn")
|
13 |
df = dataset["train"].to_pandas()
|
14 |
taraf_max = np.max(df['taraf_ID'].unique())
|
15 |
|
|
|
7 |
from sklearn.metrics.pairwise import cosine_similarity
|
8 |
|
9 |
import plotly.express as px
|
10 |
+
Secret_token = os.getenv('HF_token')
|
11 |
|
12 |
+
dataset = load_dataset("FDSRashid/embed_matn", token = Secret_token)
|
13 |
df = dataset["train"].to_pandas()
|
14 |
taraf_max = np.max(df['taraf_ID'].unique())
|
15 |
|