Update audio.py
Browse files
audio.py
CHANGED
@@ -39,9 +39,9 @@ def generate_voice(text):
|
|
39 |
DATA_FILE,
|
40 |
path_in_repo=DATA_FILENAME,
|
41 |
repo_id=DATASET_REPO_ID,
|
42 |
-
token=HF_TOKEN,
|
43 |
repo_type="dataset"
|
44 |
)
|
|
|
45 |
return (commit_url)
|
46 |
# return (44100, np.frombuffer(pad_buffer(audio), dtype=np.int16))
|
47 |
except UnauthenticatedRateLimitError as e:
|
|
|
39 |
DATA_FILE,
|
40 |
path_in_repo=DATA_FILENAME,
|
41 |
repo_id=DATASET_REPO_ID,
|
|
|
42 |
repo_type="dataset"
|
43 |
)
|
44 |
+
|
45 |
return (commit_url)
|
46 |
# return (44100, np.frombuffer(pad_buffer(audio), dtype=np.int16))
|
47 |
except UnauthenticatedRateLimitError as e:
|