Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kjysmu authored Nov 28, 2023
1 parent 558bf3f commit 17dad11
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions demo.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"import IPython\n",
"from video2music import Video2music\n",
"\n",
"input_video = \"test.mp4\"\n",
"\n",
"input_primer = \"C Am F G\"\n",
"input_key = \"C major\"\n",
"\n",
"video2music = Video2music()\n",
"output_filename = video2music.generate(input_video, input_primer, input_key)\n",
"\n",
"IPython.display.Video(output_filename)"
]
}
],
"metadata": {
"kernelspec": {
"display_name": "video2music",
"language": "python",
"name": "video2music"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.18"
}
},
"nbformat": 4,
"nbformat_minor": 2
}

0 comments on commit 17dad11

Please sign in to comment.