Spaces:
Running
Running
matdmiller
commited on
Commit
•
4f12daa
1
Parent(s):
7c60390
fix auth
Browse files
app.ipynb
CHANGED
@@ -551,7 +551,7 @@
|
|
551 |
"source": [
|
552 |
"#| export\n",
|
553 |
"def create_speech(input_text, provider, model='tts-1', voice='alloy', \n",
|
554 |
-
"
|
555 |
" progress=gr.Progress(), **kwargs):\n",
|
556 |
"\n",
|
557 |
" #Verify auth if it is required. This is very important if this is in a HF space. DO NOT DELETE!!!\n",
|
@@ -858,7 +858,7 @@
|
|
858 |
},
|
859 |
{
|
860 |
"cell_type": "code",
|
861 |
-
"execution_count":
|
862 |
"id": "0420310d-930b-4904-8bd4-3458ad8bdbd3",
|
863 |
"metadata": {},
|
864 |
"outputs": [],
|
|
|
551 |
"source": [
|
552 |
"#| export\n",
|
553 |
"def create_speech(input_text, provider, model='tts-1', voice='alloy', \n",
|
554 |
+
" profile: gr.OAuthProfile|None=None, \n",
|
555 |
" progress=gr.Progress(), **kwargs):\n",
|
556 |
"\n",
|
557 |
" #Verify auth if it is required. This is very important if this is in a HF space. DO NOT DELETE!!!\n",
|
|
|
858 |
},
|
859 |
{
|
860 |
"cell_type": "code",
|
861 |
+
"execution_count": 33,
|
862 |
"id": "0420310d-930b-4904-8bd4-3458ad8bdbd3",
|
863 |
"metadata": {},
|
864 |
"outputs": [],
|
app.py
CHANGED
@@ -227,7 +227,7 @@ def create_speech_cartesiaai(chunk_idx, input, model='upbeat-moon',
|
|
227 |
|
228 |
# %% app.ipynb 26
|
229 |
def create_speech(input_text, provider, model='tts-1', voice='alloy',
|
230 |
-
|
231 |
progress=gr.Progress(), **kwargs):
|
232 |
|
233 |
#Verify auth if it is required. This is very important if this is in a HF space. DO NOT DELETE!!!
|
|
|
227 |
|
228 |
# %% app.ipynb 26
|
229 |
def create_speech(input_text, provider, model='tts-1', voice='alloy',
|
230 |
+
profile: gr.OAuthProfile|None=None,
|
231 |
progress=gr.Progress(), **kwargs):
|
232 |
|
233 |
#Verify auth if it is required. This is very important if this is in a HF space. DO NOT DELETE!!!
|