Spaces:
Running
Running
ASG Models
commited on
Commit
•
7fb4339
1
Parent(s):
21051ce
Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ import re
|
|
9 |
from gradio.themes.base import Base
|
10 |
from datasets import load_dataset
|
11 |
from datasets import Dataset,DatasetDict
|
12 |
-
|
13 |
|
14 |
def Read_DataSet(link):
|
15 |
dataset = load_dataset(link,token=os.environ.get("auth_acess_data"))
|
@@ -245,7 +245,7 @@ class DataViewerApp:
|
|
245 |
}
|
246 |
|
247 |
dataset = DatasetDict(ds)
|
248 |
-
dataset.push_to_hub(namedata,token=os.environ.get("auth_acess_data"))
|
249 |
return namedata
|
250 |
|
251 |
def delete_row(self):
|
|
|
9 |
from gradio.themes.base import Base
|
10 |
from datasets import load_dataset
|
11 |
from datasets import Dataset,DatasetDict
|
12 |
+
import librosa
|
13 |
|
14 |
def Read_DataSet(link):
|
15 |
dataset = load_dataset(link,token=os.environ.get("auth_acess_data"))
|
|
|
245 |
}
|
246 |
|
247 |
dataset = DatasetDict(ds)
|
248 |
+
dataset.push_to_hub(namedata,token=os.environ.get("auth_acess_data"),private=True)
|
249 |
return namedata
|
250 |
|
251 |
def delete_row(self):
|