From 5fc63f49a06a3dc196054804b356976705815544 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristofer=20S=C3=B6derstr=C3=B6m?= Date: Wed, 22 Mar 2023 13:59:57 +0100 Subject: [PATCH] updated --- example.ipynb | 42 +++++++++++++++++++++++++++++++++--------- 1 file changed, 33 insertions(+), 9 deletions(-) diff --git a/example.ipynb b/example.ipynb index 2d1c6c8..ac51ea5 100644 --- a/example.ipynb +++ b/example.ipynb @@ -13,7 +13,7 @@ { "cell_type": "code", "execution_count": 2, - "id": "9fd18544", + "id": "24e1d24e", "metadata": {}, "outputs": [ { @@ -35,21 +35,21 @@ { "cell_type": "code", "execution_count": 3, - "id": "ae6c21be", + "id": "e52477fb", "metadata": {}, "outputs": [], "source": [ - "path='sample_audio/'\n", - "file_type='ogg' #check your file for file type, will only transcribe files with the file type, 'ogg', 'WAV', etc.\n", + "path='sample_audio/'#folder path\n", + "file_type='ogg' #check your file for file type, will only transcribe files with the file type, 'ogg', 'WAV'\n", "model='medium' #'small', 'medium', 'large' (tradeoff between speed and accuracy)\n", "language= None #tries to auto-detect, other options include 'English', 'Spanish', etc...\n", - "verbose = True # gets output while transcribing, False to deactivate" + "verbose = True # prints output while transcribing, False to deactivate" ] }, { "cell_type": "code", - "execution_count": null, - "id": "ec98e379", + "execution_count": 4, + "id": "d66866af", "metadata": {}, "outputs": [ { @@ -118,8 +118,32 @@ "[02:07.080 --> 02:12.960] You want to find a location, depending on the situation of what has happened.\n", "[02:12.960 --> 02:17.960] And they'll be able to set you up, you know, with care packages and stuff along those lines.\n", "[02:17.960 --> 02:18.960] Great advice, Pete.\n", - "[02:18.960 --> 02:21.160] Do you have a website where you can get more information?\n" + "[02:18.960 --> 02:21.160] Do you have a website where you can get more information?\n", + "[02:21.400 --> 02:28.840] Yes, it is www.americasrollercoasters.tatepublishing.net.\n", + "[02:28.840 --> 02:29.840] Excellent, Pete.\n", + "[02:29.840 --> 02:30.840] Thanks so much.\n", + "[02:30.840 --> 02:35.720] And hopefully, hopefully that'll keep some people safe on their big vacation this summer.\n", + "[02:35.720 --> 02:41.280] At least having that information should help people feel a little safer anyway.\n", + "[02:41.280 --> 02:42.280] It sure would.\n", + "[02:42.280 --> 02:43.280] Thank you so much, sir.\n", + "[02:43.280 --> 02:44.280] We'll talk again soon.\n", + "[02:44.280 --> 02:45.280] Have a great day.\n", + "\n", + "Finished file number 2.\n", + "\n", + "\n", + "\n" ] + }, + { + "data": { + "text/plain": [ + "'Finished transcription, files can be found in sample_audio/'" + ] + }, + "execution_count": 4, + "metadata": {}, + "output_type": "execute_result" } ], "source": [ @@ -129,7 +153,7 @@ { "cell_type": "code", "execution_count": null, - "id": "6002cf16", + "id": "c9302395", "metadata": {}, "outputs": [], "source": []