Spaces:
Sleeping
Sleeping
Upload 8 files
Browse files- README.md +10 -7
- app.py +202 -0
- en.txt +0 -0
- frankenstein5k.md +11 -0
- gatsby5k.md +17 -0
- gitattributes +35 -0
- packages.txt +1 -0
- requirements.txt +1 -0
README.md
CHANGED
@@ -1,12 +1,15 @@
|
|
1 |
---
|
2 |
-
title: TTS
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 5.
|
8 |
app_file: app.py
|
9 |
-
pinned:
|
|
|
|
|
|
|
10 |
---
|
11 |
|
12 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
1 |
---
|
2 |
+
title: Kokoro TTS
|
3 |
+
emoji: ❤️
|
4 |
+
colorFrom: indigo
|
5 |
+
colorTo: pink
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 5.24.0
|
8 |
app_file: app.py
|
9 |
+
pinned: true
|
10 |
+
license: apache-2.0
|
11 |
+
short_description: Upgraded to v1.0!
|
12 |
+
disable_embedding: true
|
13 |
---
|
14 |
|
15 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
ADDED
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import spaces
|
2 |
+
from kokoro import KModel, KPipeline
|
3 |
+
import gradio as gr
|
4 |
+
import os
|
5 |
+
import random
|
6 |
+
import torch
|
7 |
+
|
8 |
+
IS_DUPLICATE = not os.getenv('SPACE_ID', '').startswith('hexgrad/')
|
9 |
+
CUDA_AVAILABLE = torch.cuda.is_available()
|
10 |
+
if not IS_DUPLICATE:
|
11 |
+
import kokoro
|
12 |
+
import misaki
|
13 |
+
print('DEBUG', kokoro.__version__, CUDA_AVAILABLE, misaki.__version__)
|
14 |
+
|
15 |
+
CHAR_LIMIT = None if IS_DUPLICATE else 5000
|
16 |
+
models = {gpu: KModel().to('cuda' if gpu else 'cpu').eval() for gpu in [False] + ([True] if CUDA_AVAILABLE else [])}
|
17 |
+
pipelines = {lang_code: KPipeline(lang_code=lang_code, model=False) for lang_code in 'ab'}
|
18 |
+
pipelines['a'].g2p.lexicon.golds['kokoro'] = 'kˈOkəɹO'
|
19 |
+
pipelines['b'].g2p.lexicon.golds['kokoro'] = 'kˈQkəɹQ'
|
20 |
+
|
21 |
+
@spaces.GPU(duration=30)
|
22 |
+
def forward_gpu(ps, ref_s, speed):
|
23 |
+
return models[True](ps, ref_s, speed)
|
24 |
+
|
25 |
+
def generate_first(text, voice='af_heart', speed=1, use_gpu=CUDA_AVAILABLE):
|
26 |
+
text = text if CHAR_LIMIT is None else text.strip()[:CHAR_LIMIT]
|
27 |
+
pipeline = pipelines[voice[0]]
|
28 |
+
pack = pipeline.load_voice(voice)
|
29 |
+
use_gpu = use_gpu and CUDA_AVAILABLE
|
30 |
+
for _, ps, _ in pipeline(text, voice, speed):
|
31 |
+
ref_s = pack[len(ps)-1]
|
32 |
+
try:
|
33 |
+
if use_gpu:
|
34 |
+
audio = forward_gpu(ps, ref_s, speed)
|
35 |
+
else:
|
36 |
+
audio = models[False](ps, ref_s, speed)
|
37 |
+
except gr.exceptions.Error as e:
|
38 |
+
if use_gpu:
|
39 |
+
gr.Warning(str(e))
|
40 |
+
gr.Info('Retrying with CPU. To avoid this error, change Hardware to CPU.')
|
41 |
+
audio = models[False](ps, ref_s, speed)
|
42 |
+
else:
|
43 |
+
raise gr.Error(e)
|
44 |
+
return (24000, audio.numpy()), ps
|
45 |
+
return None, ''
|
46 |
+
|
47 |
+
# Arena API
|
48 |
+
def predict(text, voice='af_heart', speed=1):
|
49 |
+
return generate_first(text, voice, speed, use_gpu=False)[0]
|
50 |
+
|
51 |
+
def tokenize_first(text, voice='af_heart'):
|
52 |
+
pipeline = pipelines[voice[0]]
|
53 |
+
for _, ps, _ in pipeline(text, voice):
|
54 |
+
return ps
|
55 |
+
return ''
|
56 |
+
|
57 |
+
def generate_all(text, voice='af_heart', speed=1, use_gpu=CUDA_AVAILABLE):
|
58 |
+
text = text if CHAR_LIMIT is None else text.strip()[:CHAR_LIMIT]
|
59 |
+
pipeline = pipelines[voice[0]]
|
60 |
+
pack = pipeline.load_voice(voice)
|
61 |
+
use_gpu = use_gpu and CUDA_AVAILABLE
|
62 |
+
first = True
|
63 |
+
for _, ps, _ in pipeline(text, voice, speed):
|
64 |
+
ref_s = pack[len(ps)-1]
|
65 |
+
try:
|
66 |
+
if use_gpu:
|
67 |
+
audio = forward_gpu(ps, ref_s, speed)
|
68 |
+
else:
|
69 |
+
audio = models[False](ps, ref_s, speed)
|
70 |
+
except gr.exceptions.Error as e:
|
71 |
+
if use_gpu:
|
72 |
+
gr.Warning(str(e))
|
73 |
+
gr.Info('Switching to CPU')
|
74 |
+
audio = models[False](ps, ref_s, speed)
|
75 |
+
else:
|
76 |
+
raise gr.Error(e)
|
77 |
+
yield 24000, audio.numpy()
|
78 |
+
if first:
|
79 |
+
first = False
|
80 |
+
yield 24000, torch.zeros(1).numpy()
|
81 |
+
|
82 |
+
with open('en.txt', 'r') as r:
|
83 |
+
random_quotes = [line.strip() for line in r]
|
84 |
+
|
85 |
+
def get_random_quote():
|
86 |
+
return random.choice(random_quotes)
|
87 |
+
|
88 |
+
def get_gatsby():
|
89 |
+
with open('gatsby5k.md', 'r') as r:
|
90 |
+
return r.read().strip()
|
91 |
+
|
92 |
+
def get_frankenstein():
|
93 |
+
with open('frankenstein5k.md', 'r') as r:
|
94 |
+
return r.read().strip()
|
95 |
+
|
96 |
+
CHOICES = {
|
97 |
+
'🇺🇸 🚺 Heart ❤️': 'af_heart',
|
98 |
+
'🇺🇸 🚺 Bella 🔥': 'af_bella',
|
99 |
+
'🇺🇸 🚺 Nicole 🎧': 'af_nicole',
|
100 |
+
'🇺🇸 🚺 Aoede': 'af_aoede',
|
101 |
+
'🇺🇸 🚺 Kore': 'af_kore',
|
102 |
+
'🇺🇸 🚺 Sarah': 'af_sarah',
|
103 |
+
'🇺🇸 🚺 Nova': 'af_nova',
|
104 |
+
'🇺🇸 🚺 Sky': 'af_sky',
|
105 |
+
'🇺🇸 🚺 Alloy': 'af_alloy',
|
106 |
+
'🇺🇸 🚺 Jessica': 'af_jessica',
|
107 |
+
'🇺🇸 🚺 River': 'af_river',
|
108 |
+
'🇺🇸 🚹 Michael': 'am_michael',
|
109 |
+
'🇺🇸 🚹 Fenrir': 'am_fenrir',
|
110 |
+
'🇺🇸 🚹 Puck': 'am_puck',
|
111 |
+
'🇺🇸 🚹 Echo': 'am_echo',
|
112 |
+
'🇺🇸 🚹 Eric': 'am_eric',
|
113 |
+
'🇺🇸 🚹 Liam': 'am_liam',
|
114 |
+
'🇺🇸 🚹 Onyx': 'am_onyx',
|
115 |
+
'🇺🇸 🚹 Santa': 'am_santa',
|
116 |
+
'🇺🇸 🚹 Adam': 'am_adam',
|
117 |
+
'🇬🇧 🚺 Emma': 'bf_emma',
|
118 |
+
'🇬🇧 🚺 Isabella': 'bf_isabella',
|
119 |
+
'🇬🇧 🚺 Alice': 'bf_alice',
|
120 |
+
'🇬🇧 🚺 Lily': 'bf_lily',
|
121 |
+
'🇬🇧 🚹 George': 'bm_george',
|
122 |
+
'🇬🇧 🚹 Fable': 'bm_fable',
|
123 |
+
'🇬🇧 🚹 Lewis': 'bm_lewis',
|
124 |
+
'🇬🇧 🚹 Daniel': 'bm_daniel',
|
125 |
+
}
|
126 |
+
for v in CHOICES.values():
|
127 |
+
pipelines[v[0]].load_voice(v)
|
128 |
+
|
129 |
+
TOKEN_NOTE = '''
|
130 |
+
💡 Customize pronunciation with Markdown link syntax and /slashes/ like `[Kokoro](/kˈOkəɹO/)`
|
131 |
+
|
132 |
+
💬 To adjust intonation, try punctuation `;:,.!?—…"()“”` or stress `ˈ` and `ˌ`
|
133 |
+
|
134 |
+
⬇️ Lower stress `[1 level](-1)` or `[2 levels](-2)`
|
135 |
+
|
136 |
+
⬆️ Raise stress 1 level `[or](+2)` 2 levels (only works on less stressed, usually short words)
|
137 |
+
'''
|
138 |
+
|
139 |
+
with gr.Blocks() as generate_tab:
|
140 |
+
out_audio = gr.Audio(label='Output Audio', interactive=False, streaming=False, autoplay=True)
|
141 |
+
generate_btn = gr.Button('Generate', variant='primary')
|
142 |
+
with gr.Accordion('Output Tokens', open=True):
|
143 |
+
out_ps = gr.Textbox(interactive=False, show_label=False, info='Tokens used to generate the audio, up to 510 context length.')
|
144 |
+
tokenize_btn = gr.Button('Tokenize', variant='secondary')
|
145 |
+
gr.Markdown(TOKEN_NOTE)
|
146 |
+
predict_btn = gr.Button('Predict', variant='secondary', visible=False)
|
147 |
+
|
148 |
+
STREAM_NOTE = ['⚠️ There is an unknown Gradio bug that might yield no audio the first time you click `Stream`.']
|
149 |
+
if CHAR_LIMIT is not None:
|
150 |
+
STREAM_NOTE.append(f'✂️ Each stream is capped at {CHAR_LIMIT} characters.')
|
151 |
+
STREAM_NOTE.append('🚀 Want more characters? You can [use Kokoro directly](https://huggingface.co/hexgrad/Kokoro-82M#usage) or duplicate this space:')
|
152 |
+
STREAM_NOTE = '\n\n'.join(STREAM_NOTE)
|
153 |
+
|
154 |
+
with gr.Blocks() as stream_tab:
|
155 |
+
out_stream = gr.Audio(label='Output Audio Stream', interactive=False, streaming=True, autoplay=True)
|
156 |
+
with gr.Row():
|
157 |
+
stream_btn = gr.Button('Stream', variant='primary')
|
158 |
+
stop_btn = gr.Button('Stop', variant='stop')
|
159 |
+
with gr.Accordion('Note', open=True):
|
160 |
+
gr.Markdown(STREAM_NOTE)
|
161 |
+
gr.DuplicateButton()
|
162 |
+
|
163 |
+
BANNER_TEXT = '''
|
164 |
+
[***Kokoro*** **is an open-weight TTS model with 82 million parameters.**](https://huggingface.co/hexgrad/Kokoro-82M)
|
165 |
+
|
166 |
+
This demo only showcases English, but you can directly use the model to access other languages.
|
167 |
+
'''
|
168 |
+
API_OPEN = os.getenv('SPACE_ID') != 'hexgrad/Kokoro-TTS'
|
169 |
+
API_NAME = None if API_OPEN else False
|
170 |
+
with gr.Blocks() as app:
|
171 |
+
with gr.Row():
|
172 |
+
gr.Markdown(BANNER_TEXT, container=True)
|
173 |
+
with gr.Row():
|
174 |
+
with gr.Column():
|
175 |
+
text = gr.Textbox(label='Input Text', info=f"Up to ~500 characters per Generate, or {'∞' if CHAR_LIMIT is None else CHAR_LIMIT} characters per Stream")
|
176 |
+
with gr.Row():
|
177 |
+
voice = gr.Dropdown(list(CHOICES.items()), value='af_heart', label='Voice', info='Quality and availability vary by language')
|
178 |
+
use_gpu = gr.Dropdown(
|
179 |
+
[('ZeroGPU 🚀', True), ('CPU 🐌', False)],
|
180 |
+
value=CUDA_AVAILABLE,
|
181 |
+
label='Hardware',
|
182 |
+
info='GPU is usually faster, but has a usage quota',
|
183 |
+
interactive=CUDA_AVAILABLE
|
184 |
+
)
|
185 |
+
speed = gr.Slider(minimum=0.5, maximum=2, value=1, step=0.1, label='Speed')
|
186 |
+
random_btn = gr.Button('🎲 Random Quote 💬', variant='secondary')
|
187 |
+
with gr.Row():
|
188 |
+
gatsby_btn = gr.Button('🥂 Gatsby 📕', variant='secondary')
|
189 |
+
frankenstein_btn = gr.Button('💀 Frankenstein 📗', variant='secondary')
|
190 |
+
with gr.Column():
|
191 |
+
gr.TabbedInterface([generate_tab, stream_tab], ['Generate', 'Stream'])
|
192 |
+
random_btn.click(fn=get_random_quote, inputs=[], outputs=[text], api_name=API_NAME)
|
193 |
+
gatsby_btn.click(fn=get_gatsby, inputs=[], outputs=[text], api_name=API_NAME)
|
194 |
+
frankenstein_btn.click(fn=get_frankenstein, inputs=[], outputs=[text], api_name=API_NAME)
|
195 |
+
generate_btn.click(fn=generate_first, inputs=[text, voice, speed, use_gpu], outputs=[out_audio, out_ps], api_name=API_NAME)
|
196 |
+
tokenize_btn.click(fn=tokenize_first, inputs=[text, voice], outputs=[out_ps], api_name=API_NAME)
|
197 |
+
stream_event = stream_btn.click(fn=generate_all, inputs=[text, voice, speed, use_gpu], outputs=[out_stream], api_name=API_NAME)
|
198 |
+
stop_btn.click(fn=None, cancels=stream_event)
|
199 |
+
predict_btn.click(fn=predict, inputs=[text, voice, speed], outputs=[out_audio], api_name=API_NAME)
|
200 |
+
|
201 |
+
if __name__ == '__main__':
|
202 |
+
app.queue(api_open=API_OPEN).launch(show_api=API_OPEN, ssr_mode=True)
|
en.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
frankenstein5k.md
ADDED
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
You will rejoice to hear that no disaster has accompanied the commencement of an enterprise which you have regarded with such evil forebodings. I arrived here yesterday, and my first task is to assure my dear sister of my welfare and increasing confidence in the success of my undertaking.
|
2 |
+
|
3 |
+
I am already far north of London, and as I walk in the streets of Petersburgh, I feel a cold northern breeze play upon my cheeks, which braces my nerves and fills me with delight. Do you understand this feeling? This breeze, which has travelled from the regions towards which I am advancing, gives me a foretaste of those icy climes. Inspirited by this wind of promise, my daydreams become more fervent and vivid. I try in vain to be persuaded that the pole is the seat of frost and desolation; it ever presents itself to my imagination as the region of beauty and delight. There, Margaret, the sun is for ever visible, its broad disk just skirting the horizon and diffusing a perpetual splendour. There—for with your leave, my sister, I will put some trust in preceding navigators—there snow and frost are banished; and, sailing over a calm sea, we may be wafted to a land surpassing in wonders and in beauty every region hitherto discovered on the habitable globe. Its productions and features may be without example, as the phenomena of the heavenly bodies undoubtedly are in those undiscovered solitudes. What may not be expected in a country of eternal light? I may there discover the wondrous power which attracts the needle and may regulate a thousand celestial observations that require only this voyage to render their seeming eccentricities consistent for ever. I shall satiate my ardent curiosity with the sight of a part of the world never before visited, and may tread a land never before imprinted by the foot of man. These are my enticements, and they are sufficient to conquer all fear of danger or death and to induce me to commence this laborious voyage with the joy a child feels when he embarks in a little boat, with his holiday mates, on an expedition of discovery up his native river. But supposing all these conjectures to be false, you cannot contest the inestimable benefit which I shall confer on all mankind, to the last generation, by discovering a passage near the pole to those countries, to reach which at present so many months are requisite; or by ascertaining the secret of the magnet, which, if at all possible, can only be effected by an undertaking such as mine.
|
4 |
+
|
5 |
+
These reflections have dispelled the agitation with which I began my letter, and I feel my heart glow with an enthusiasm which elevates me to heaven, for nothing contributes so much to tranquillise the mind as a steady purpose—a point on which the soul may fix its intellectual eye. This expedition has been the favourite dream of my early years. I have read with ardour the accounts of the various voyages which have been made in the prospect of arriving at the North Pacific Ocean through the seas which surround the pole. You may remember that a history of all the voyages made for purposes of discovery composed the whole of our good Uncle Thomas’s library. My education was neglected, yet I was passionately fond of reading. These volumes were my study day and night, and my familiarity with them increased that regret which I had felt, as a child, on learning that my father’s dying injunction had forbidden my uncle to allow me to embark in a seafaring life.
|
6 |
+
|
7 |
+
These visions faded when I perused, for the first time, those poets whose effusions entranced my soul and lifted it to heaven. I also became a poet and for one year lived in a paradise of my own creation; I imagined that I also might obtain a niche in the temple where the names of Homer and Shakespeare are consecrated. You are well acquainted with my failure and how heavily I bore the disappointment. But just at that time I inherited the fortune of my cousin, and my thoughts were turned into the channel of their earlier bent.
|
8 |
+
|
9 |
+
Six years have passed since I resolved on my present undertaking. I can, even now, remember the hour from which I dedicated myself to this great enterprise. I commenced by inuring my body to hardship. I accompanied the whale-fishers on several expeditions to the North Sea; I voluntarily endured cold, famine, thirst, and want of sleep; I often worked harder than the common sailors during the day and devoted my nights to the study of mathematics, the theory of medicine, and those branches of physical science from which a naval adventurer might derive the greatest practical advantage. Twice I actually hired myself as an under-mate in a Greenland whaler, and acquitted myself to admiration. I must own I felt a little proud when my captain offered me the second dignity in the vessel and entreated me to remain with the greatest earnestness, so valuable did he consider my services.
|
10 |
+
|
11 |
+
And now, dear Margaret, do I not deserve to accomplish some great purpose?
|
gatsby5k.md
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
In my younger and more vulnerable years my father gave me some advice that I’ve been turning over in my mind ever since.
|
2 |
+
|
3 |
+
“Whenever you feel like criticizing anyone,” he told me, “just remember that all the people in this world haven’t had the advantages that you’ve had.”
|
4 |
+
|
5 |
+
He didn’t say any more, but we’ve always been unusually communicative in a reserved way, and I understood that he meant a great deal more than that. In consequence, I’m inclined to reserve all judgements, a habit that has opened up many curious natures to me and also made me the victim of not a few veteran bores. The abnormal mind is quick to detect and attach itself to this quality when it appears in a normal person, and so it came about that in college I was unjustly accused of being a politician, because I was privy to the secret griefs of wild, unknown men. Most of the confidences were unsought—frequently I have feigned sleep, preoccupation, or a hostile levity when I realized by some unmistakable sign that an intimate revelation was quivering on the horizon; for the intimate revelations of young men, or at least the terms in which they express them, are usually plagiaristic and marred by obvious suppressions. Reserving judgements is a matter of infinite hope. I am still a little afraid of missing something if I forget that, as my father snobbishly suggested, and I snobbishly repeat, a sense of the fundamental decencies is parcelled out unequally at birth.
|
6 |
+
|
7 |
+
And, after boasting this way of my tolerance, I come to the admission that it has a limit. Conduct may be founded on the hard rock or the wet marshes, but after a certain point I don’t care what it’s founded on. When I came back from the East last autumn I felt that I wanted the world to be in uniform and at a sort of moral attention forever; I wanted no more riotous excursions with privileged glimpses into the human heart. Only Gatsby, the man who gives his name to this book, was exempt from my reaction—Gatsby, who represented everything for which I have an unaffected scorn. If personality is an unbroken series of successful gestures, then there was something gorgeous about him, some heightened sensitivity to the promises of life, as if he were related to one of those intricate machines that register earthquakes ten thousand miles away. This responsiveness had nothing to do with that flabby impressionability which is dignified under the name of the “creative temperament”—it was an extraordinary gift for hope, a romantic readiness such as I have never found in any other person and which it is not likely I shall ever find again. No—Gatsby turned out all right at the end; it is what preyed on Gatsby, what foul dust floated in the wake of his dreams that temporarily closed out my interest in the abortive sorrows and short-winded elations of men.
|
8 |
+
|
9 |
+
My family have been prominent, well-to-do people in this Middle Western city for three generations. The Carraways are something of a clan, and we have a tradition that we’re descended from the Dukes of Buccleuch, but the actual founder of my line was my grandfather’s brother, who came here in fifty-one, sent a substitute to the Civil War, and started the wholesale hardware business that my father carries on today.
|
10 |
+
|
11 |
+
I never saw this great-uncle, but I’m supposed to look like him—with special reference to the rather hard-boiled painting that hangs in father’s office. I graduated from New Haven in 1915, just a quarter of a century after my father, and a little later I participated in that delayed Teutonic migration known as the Great War. I enjoyed the counter-raid so thoroughly that I came back restless. Instead of being the warm centre of the world, the Middle West now seemed like the ragged edge of the universe—so I decided to go East and learn the bond business. Everybody I knew was in the bond business, so I supposed it could support one more single man. All my aunts and uncles talked it over as if they were choosing a prep school for me, and finally said, “Why—[ye-es](/jˈɛ ɛs/),” with very grave, hesitant faces. Father agreed to finance me for a year, and after various delays I came East, permanently, I thought, in the spring of twenty-two.
|
12 |
+
|
13 |
+
The practical thing was to find rooms in the city, but it was a warm season, and I had just left a country of wide lawns and friendly trees, so when a young man at the office suggested that we take a house together in a commuting town, it sounded like a great idea. He found the house, a weather-beaten cardboard bungalow at eighty a month, but at the last minute the firm ordered him to Washington, and I went out to the country alone. I had a dog—at least I had him for a few days until he ran away—and an old Dodge and a Finnish woman, who made my bed and cooked breakfast and muttered Finnish wisdom to herself over the electric stove.
|
14 |
+
|
15 |
+
It was lonely for a day or so until one morning some man, more recently arrived than I, stopped me on the road.
|
16 |
+
|
17 |
+
“How do you get to West Egg village?” he asked helplessly.
|
gitattributes
ADDED
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
*.7z filter=lfs diff=lfs merge=lfs -text
|
2 |
+
*.arrow filter=lfs diff=lfs merge=lfs -text
|
3 |
+
*.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
+
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
5 |
+
*.ckpt filter=lfs diff=lfs merge=lfs -text
|
6 |
+
*.ftz filter=lfs diff=lfs merge=lfs -text
|
7 |
+
*.gz filter=lfs diff=lfs merge=lfs -text
|
8 |
+
*.h5 filter=lfs diff=lfs merge=lfs -text
|
9 |
+
*.joblib filter=lfs diff=lfs merge=lfs -text
|
10 |
+
*.lfs.* filter=lfs diff=lfs merge=lfs -text
|
11 |
+
*.mlmodel filter=lfs diff=lfs merge=lfs -text
|
12 |
+
*.model filter=lfs diff=lfs merge=lfs -text
|
13 |
+
*.msgpack filter=lfs diff=lfs merge=lfs -text
|
14 |
+
*.npy filter=lfs diff=lfs merge=lfs -text
|
15 |
+
*.npz filter=lfs diff=lfs merge=lfs -text
|
16 |
+
*.onnx filter=lfs diff=lfs merge=lfs -text
|
17 |
+
*.ot filter=lfs diff=lfs merge=lfs -text
|
18 |
+
*.parquet filter=lfs diff=lfs merge=lfs -text
|
19 |
+
*.pb filter=lfs diff=lfs merge=lfs -text
|
20 |
+
*.pickle filter=lfs diff=lfs merge=lfs -text
|
21 |
+
*.pkl filter=lfs diff=lfs merge=lfs -text
|
22 |
+
*.pt filter=lfs diff=lfs merge=lfs -text
|
23 |
+
*.pth filter=lfs diff=lfs merge=lfs -text
|
24 |
+
*.rar filter=lfs diff=lfs merge=lfs -text
|
25 |
+
*.safetensors filter=lfs diff=lfs merge=lfs -text
|
26 |
+
saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
27 |
+
*.tar.* filter=lfs diff=lfs merge=lfs -text
|
28 |
+
*.tar filter=lfs diff=lfs merge=lfs -text
|
29 |
+
*.tflite filter=lfs diff=lfs merge=lfs -text
|
30 |
+
*.tgz filter=lfs diff=lfs merge=lfs -text
|
31 |
+
*.wasm filter=lfs diff=lfs merge=lfs -text
|
32 |
+
*.xz filter=lfs diff=lfs merge=lfs -text
|
33 |
+
*.zip filter=lfs diff=lfs merge=lfs -text
|
34 |
+
*.zst filter=lfs diff=lfs merge=lfs -text
|
35 |
+
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
packages.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
espeak-ng
|
requirements.txt
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
kokoro>=0.9.4
|