Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -1825,7 +1825,7 @@ if menu == "Update Keywords":
|
|
1825 |
|
1826 |
# Analyze Training Data
|
1827 |
st.subheader("Analyze Training Data")
|
1828 |
-
dataset_path = hf_hub_download(repo_id = "zakyirhab0/Klasifikasi_Komentar", filename=f"datasetntbnew_{candidate.lower().replace(' ', '_')}.xlsx", repo_type="dataset"
|
1829 |
try:
|
1830 |
train_data = pd.read_excel(dataset_path)
|
1831 |
if train_data.empty:
|
|
|
1825 |
|
1826 |
# Analyze Training Data
|
1827 |
st.subheader("Analyze Training Data")
|
1828 |
+
dataset_path = hf_hub_download(repo_id = "zakyirhab0/Klasifikasi_Komentar", filename=f"datasetntbnew_{candidate.lower().replace(' ', '_')}.xlsx", repo_type="dataset")
|
1829 |
try:
|
1830 |
train_data = pd.read_excel(dataset_path)
|
1831 |
if train_data.empty:
|