Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,6 +10,7 @@ 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 |
|
|
|
|
| 10 |
Secret_token = os.getenv('HF_token')
|
| 11 |
|
| 12 |
dataset = load_dataset("FDSRashid/embed_matn", token = Secret_token)
|
| 13 |
+
books = load_dataset('FDSRashid/Hadith_info', data_files='Books.csv', token=Secret_token)['train'].to_pandas()
|
| 14 |
df = dataset["train"].to_pandas()
|
| 15 |
taraf_max = np.max(df['taraf_ID'].unique())
|
| 16 |
|