Spaces:
Running
Running
matdmiller
commited on
Commit
·
d61c6c4
1
Parent(s):
06719d4
fix audio file safari
Browse files
app.ipynb
CHANGED
@@ -225,6 +225,7 @@
|
|
225 |
" #### Return Filepath Method\n",
|
226 |
" filepath = TEMP_DIR/(str(uuid.uuid4())+'.mp3')\n",
|
227 |
" combined.export(filepath, format=\"mp3\")\n",
|
|
|
228 |
" return str(filepath)"
|
229 |
]
|
230 |
},
|
@@ -487,7 +488,7 @@
|
|
487 |
},
|
488 |
{
|
489 |
"cell_type": "code",
|
490 |
-
"execution_count":
|
491 |
"id": "0420310d-930b-4904-8bd4-3458ad8bdbd3",
|
492 |
"metadata": {},
|
493 |
"outputs": [],
|
|
|
225 |
" #### Return Filepath Method\n",
|
226 |
" filepath = TEMP_DIR/(str(uuid.uuid4())+'.mp3')\n",
|
227 |
" combined.export(filepath, format=\"mp3\")\n",
|
228 |
+
" print('Saving mp3 file to temp directory: ', filepath)\n",
|
229 |
" return str(filepath)"
|
230 |
]
|
231 |
},
|
|
|
488 |
},
|
489 |
{
|
490 |
"cell_type": "code",
|
491 |
+
"execution_count": 56,
|
492 |
"id": "0420310d-930b-4904-8bd4-3458ad8bdbd3",
|
493 |
"metadata": {},
|
494 |
"outputs": [],
|
app.py
CHANGED
@@ -136,6 +136,7 @@ def concatenate_mp3(mp3_files):
|
|
136 |
#### Return Filepath Method
|
137 |
filepath = TEMP_DIR/(str(uuid.uuid4())+'.mp3')
|
138 |
combined.export(filepath, format="mp3")
|
|
|
139 |
return str(filepath)
|
140 |
|
141 |
# %% app.ipynb 11
|
|
|
136 |
#### Return Filepath Method
|
137 |
filepath = TEMP_DIR/(str(uuid.uuid4())+'.mp3')
|
138 |
combined.export(filepath, format="mp3")
|
139 |
+
print('Saving mp3 file to temp directory: ', filepath)
|
140 |
return str(filepath)
|
141 |
|
142 |
# %% app.ipynb 11
|