Project restructuring..
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
"import os\n",
|
||||
"import ffmpeg\n",
|
||||
"# importing module that prerocess the audio file \n",
|
||||
"from data_ingestion.utils import create_audio_document\n"
|
||||
"from utils import create_audio_document\n"
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -62,7 +62,7 @@
|
||||
" os.makedirs(snapshot_dir, exist_ok=True)\n",
|
||||
"\n",
|
||||
" # Set the interval to 3 minutes (180 seconds)\n",
|
||||
" interval = 180\n",
|
||||
" interval = 30\n",
|
||||
"\n",
|
||||
" # Get the duration of the video using ffmpeg\n",
|
||||
" probe = ffmpeg.probe(video_path)\n",
|
||||
@@ -164,7 +164,10 @@
|
||||
"execution_count": null,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": []
|
||||
"source": [
|
||||
"# [{filename: \"car repair.pdf\", pages: [12, 55, 356], description: \"lorem ipsum\", filetype:\"pdf\", thumbnail:\"carrepair.jpg\"}\n",
|
||||
"# ,{filename: \"how to repair car.mp4\", pages: [12, 55, 356], description: \"lorem ipsum\", filetype:\"video\", thumbnail:\"how to repair car.jpg\"}]"
|
||||
]
|
||||
}
|
||||
],
|
||||
"metadata": {
|
||||
|
||||
Reference in New Issue
Block a user