Spaces:
Runtime error
Runtime error
Commit
·
c586121
1
Parent(s):
7c74b13
add link to space in markdown
Browse files
app.ipynb
CHANGED
@@ -375,7 +375,7 @@
|
|
375 |
"with gr.Blocks(title='OpenAI TTS', head='OpenAI TTS') as app:\n",
|
376 |
" gr.Markdown(\"# OpenAI TTS\")\n",
|
377 |
" gr.Markdown(\"\"\"Start typing below and then click **Go** to create the speech from your text. The current limit is 4,000 characters. \n",
|
378 |
-
"For requests longer than 4,000 chars they will be broken into chunks of 4,000 or less chars automatically
|
379 |
" with gr.Row():\n",
|
380 |
" input_text = gr.Textbox(max_lines=100, label=\"Enter text here\")\n",
|
381 |
" with gr.Row():\n",
|
@@ -463,7 +463,7 @@
|
|
463 |
},
|
464 |
{
|
465 |
"cell_type": "code",
|
466 |
-
"execution_count":
|
467 |
"id": "0420310d-930b-4904-8bd4-3458ad8bdbd3",
|
468 |
"metadata": {},
|
469 |
"outputs": [],
|
|
|
375 |
"with gr.Blocks(title='OpenAI TTS', head='OpenAI TTS') as app:\n",
|
376 |
" gr.Markdown(\"# OpenAI TTS\")\n",
|
377 |
" gr.Markdown(\"\"\"Start typing below and then click **Go** to create the speech from your text. The current limit is 4,000 characters. \n",
|
378 |
+
"For requests longer than 4,000 chars they will be broken into chunks of 4,000 or less chars automatically. [Spaces Link](https://huggingface.co/spaces/matdmiller/tts-openai)\"\"\")\n",
|
379 |
" with gr.Row():\n",
|
380 |
" input_text = gr.Textbox(max_lines=100, label=\"Enter text here\")\n",
|
381 |
" with gr.Row():\n",
|
|
|
463 |
},
|
464 |
{
|
465 |
"cell_type": "code",
|
466 |
+
"execution_count": 13,
|
467 |
"id": "0420310d-930b-4904-8bd4-3458ad8bdbd3",
|
468 |
"metadata": {},
|
469 |
"outputs": [],
|
app.py
CHANGED
@@ -240,7 +240,7 @@ def authorized(profile: gr.OAuthProfile) -> str:
|
|
240 |
with gr.Blocks(title='OpenAI TTS', head='OpenAI TTS') as app:
|
241 |
gr.Markdown("# OpenAI TTS")
|
242 |
gr.Markdown("""Start typing below and then click **Go** to create the speech from your text. The current limit is 4,000 characters.
|
243 |
-
For requests longer than 4,000 chars they will be broken into chunks of 4,000 or less chars automatically.""")
|
244 |
with gr.Row():
|
245 |
input_text = gr.Textbox(max_lines=100, label="Enter text here")
|
246 |
with gr.Row():
|
|
|
240 |
with gr.Blocks(title='OpenAI TTS', head='OpenAI TTS') as app:
|
241 |
gr.Markdown("# OpenAI TTS")
|
242 |
gr.Markdown("""Start typing below and then click **Go** to create the speech from your text. The current limit is 4,000 characters.
|
243 |
+
For requests longer than 4,000 chars they will be broken into chunks of 4,000 or less chars automatically. [Spaces Link](https://huggingface.co/spaces/matdmiller/tts-openai)""")
|
244 |
with gr.Row():
|
245 |
input_text = gr.Textbox(max_lines=100, label="Enter text here")
|
246 |
with gr.Row():
|