Bugfix: updated versions
Browse files- README.md +1 -1
- app.py +3 -3
- app_test.ipynb +46 -5
- pyproject.toml +14 -15
- requirements.txt +13 -13
README.md
CHANGED
@@ -4,7 +4,7 @@ emoji: 🐠
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
-
sdk_version: 4.
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: cc
|
|
|
4 |
colorFrom: yellow
|
5 |
colorTo: blue
|
6 |
sdk: gradio
|
7 |
+
sdk_version: 4.40.0
|
8 |
app_file: app.py
|
9 |
pinned: true
|
10 |
license: cc
|
app.py
CHANGED
@@ -2,9 +2,9 @@ import gradio as gr
|
|
2 |
from cqfe_utils import cqfe
|
3 |
cqfe_interface = gr.Interface(fn=cqfe,
|
4 |
inputs=gr.Audio(type='filepath', format='wav', label='Audio Input File'),
|
5 |
-
outputs=[gr.File(type='
|
6 |
gr.Plot(label='F0 Estimation Plot')],
|
7 |
-
title="Choral Quartets F0 Extractor (v0.2.
|
8 |
description="An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass). The processing may take a few minutes.")
|
9 |
|
10 |
-
cqfe_interface.launch()
|
|
|
2 |
from cqfe_utils import cqfe
|
3 |
cqfe_interface = gr.Interface(fn=cqfe,
|
4 |
inputs=gr.Audio(type='filepath', format='wav', label='Audio Input File'),
|
5 |
+
outputs=[gr.File(type='filepath', label='F0 Output Files'),
|
6 |
gr.Plot(label='F0 Estimation Plot')],
|
7 |
+
title="Choral Quartets F0 Extractor (v0.2.1-beta)",
|
8 |
description="An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass). The processing may take a few minutes.")
|
9 |
|
10 |
+
cqfe_interface.launch()
|
app_test.ipynb
CHANGED
@@ -2,17 +2,58 @@
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
-
"execution_count":
|
6 |
"metadata": {},
|
7 |
-
"outputs": [
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
"source": [
|
9 |
"import gradio as gr\n",
|
10 |
"from cqfe_utils import cqfe\n",
|
11 |
"cqfe_interface = gr.Interface(fn=cqfe,\n",
|
12 |
" inputs=gr.Audio(type='filepath', format='wav', label='Audio Input File'),\n",
|
13 |
-
" outputs=[gr.File(type='
|
14 |
" gr.Plot(label='F0 Estimation Plot')],\n",
|
15 |
-
" title=\"Choral Quartets F0 Extractor (v0.2.
|
16 |
" description=\"An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass). The processing may take a few minutes.\")\n",
|
17 |
"\n",
|
18 |
"cqfe_interface.launch()"
|
@@ -35,7 +76,7 @@
|
|
35 |
"name": "python",
|
36 |
"nbconvert_exporter": "python",
|
37 |
"pygments_lexer": "ipython3",
|
38 |
-
"version": "3.11.
|
39 |
},
|
40 |
"orig_nbformat": 4
|
41 |
},
|
|
|
2 |
"cells": [
|
3 |
{
|
4 |
"cell_type": "code",
|
5 |
+
"execution_count": 2,
|
6 |
"metadata": {},
|
7 |
+
"outputs": [
|
8 |
+
{
|
9 |
+
"name": "stdout",
|
10 |
+
"output_type": "stream",
|
11 |
+
"text": [
|
12 |
+
"Running on local URL: http://127.0.0.1:7860\n",
|
13 |
+
"\n",
|
14 |
+
"To create a public link, set `share=True` in `launch()`.\n"
|
15 |
+
]
|
16 |
+
},
|
17 |
+
{
|
18 |
+
"data": {
|
19 |
+
"text/html": [
|
20 |
+
"<div><iframe src=\"http://127.0.0.1:7860/\" width=\"100%\" height=\"500\" allow=\"autoplay; camera; microphone; clipboard-read; clipboard-write;\" frameborder=\"0\" allowfullscreen></iframe></div>"
|
21 |
+
],
|
22 |
+
"text/plain": [
|
23 |
+
"<IPython.core.display.HTML object>"
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"metadata": {},
|
27 |
+
"output_type": "display_data"
|
28 |
+
},
|
29 |
+
{
|
30 |
+
"data": {
|
31 |
+
"text/plain": []
|
32 |
+
},
|
33 |
+
"execution_count": 2,
|
34 |
+
"metadata": {},
|
35 |
+
"output_type": "execute_result"
|
36 |
+
},
|
37 |
+
{
|
38 |
+
"name": "stdout",
|
39 |
+
"output_type": "stream",
|
40 |
+
"text": [
|
41 |
+
"1/1 [==============================] - 10s 10s/step\n",
|
42 |
+
"1/1 [==============================] - 10s 10s/step\n",
|
43 |
+
"1/1 [==============================] - 5s 5s/step\n",
|
44 |
+
"1/1 [==============================] - 1s 885ms/step\n",
|
45 |
+
"1/1 [==============================] - 0s 496ms/step\n"
|
46 |
+
]
|
47 |
+
}
|
48 |
+
],
|
49 |
"source": [
|
50 |
"import gradio as gr\n",
|
51 |
"from cqfe_utils import cqfe\n",
|
52 |
"cqfe_interface = gr.Interface(fn=cqfe,\n",
|
53 |
" inputs=gr.Audio(type='filepath', format='wav', label='Audio Input File'),\n",
|
54 |
+
" outputs=[gr.File(type='filepath', label='F0 Output Files'),\n",
|
55 |
" gr.Plot(label='F0 Estimation Plot')],\n",
|
56 |
+
" title=\"Choral Quartets F0 Extractor (v0.2.1-beta)\",\n",
|
57 |
" description=\"An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass). The processing may take a few minutes.\")\n",
|
58 |
"\n",
|
59 |
"cqfe_interface.launch()"
|
|
|
76 |
"name": "python",
|
77 |
"nbconvert_exporter": "python",
|
78 |
"pygments_lexer": "ipython3",
|
79 |
+
"version": "3.11.9"
|
80 |
},
|
81 |
"orig_nbformat": 4
|
82 |
},
|
pyproject.toml
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
[tool.poetry]
|
2 |
name = "Choral-Quartets-F0-Extractor"
|
3 |
-
version = "0.2.
|
4 |
description = "An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass)."
|
5 |
authors = ["André Paiva (Xornotor) <[email protected]>"]
|
6 |
license = "cc"
|
@@ -9,20 +9,19 @@ packages = [{include = "Choral_Quartets_F0_Extractor"}]
|
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
python = "^3.11"
|
12 |
-
tensorflow = "^2.
|
13 |
-
gradio
|
14 |
-
typing-extensions
|
15 |
-
mido
|
16 |
-
pumpp
|
17 |
-
numpy
|
18 |
-
scipy
|
19 |
-
pandas
|
20 |
-
hdf5plugin
|
21 |
-
h5py
|
22 |
-
tables
|
23 |
-
librosa
|
24 |
-
matplotlib
|
25 |
-
|
26 |
|
27 |
[build-system]
|
28 |
requires = ["poetry-core"]
|
|
|
1 |
[tool.poetry]
|
2 |
name = "Choral-Quartets-F0-Extractor"
|
3 |
+
version = "0.2.1-beta"
|
4 |
description = "An application that uses Multi-Pitch Estimation and Voice Assignment to transform audio files with Choral Quartets recordings into files (CSV, HDF5 and MIDI) containing F0 estimations for each voice (Soprano, Alto, Tenor and Bass)."
|
5 |
authors = ["André Paiva (Xornotor) <[email protected]>"]
|
6 |
license = "cc"
|
|
|
9 |
|
10 |
[tool.poetry.dependencies]
|
11 |
python = "^3.11"
|
12 |
+
tensorflow = "^2.14"
|
13 |
+
gradio = "^4.40"
|
14 |
+
typing-extensions = "^4.80"
|
15 |
+
mido = "^1.3"
|
16 |
+
pumpp = "^0.6"
|
17 |
+
numpy = "^1.26"
|
18 |
+
scipy = "^1.14"
|
19 |
+
pandas = "^2.2"
|
20 |
+
hdf5plugin = "^4.4"
|
21 |
+
h5py = "^3.9"
|
22 |
+
tables = "^3.9"
|
23 |
+
librosa = "^0.10"
|
24 |
+
matplotlib = "^3.8"
|
|
|
25 |
|
26 |
[build-system]
|
27 |
requires = ["poetry-core"]
|
requirements.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1 |
-
tensorflow
|
2 |
-
gradio
|
3 |
-
typing-extensions
|
4 |
-
mido
|
5 |
-
pumpp
|
6 |
-
numpy
|
7 |
-
scipy
|
8 |
-
pandas
|
9 |
-
hdf5plugin
|
10 |
-
h5py
|
11 |
-
tables
|
12 |
-
librosa
|
13 |
-
matplotlib
|
|
|
1 |
+
tensorflow==2.14.0
|
2 |
+
gradio==4.40.0
|
3 |
+
typing-extensions==4.8.0
|
4 |
+
mido==1.3.2
|
5 |
+
pumpp==0.6.0
|
6 |
+
numpy==1.26.0
|
7 |
+
scipy==1.14.0
|
8 |
+
pandas==2.2.2
|
9 |
+
hdf5plugin==4.4.0
|
10 |
+
h5py==3.9.0
|
11 |
+
tables==3.9.2
|
12 |
+
librosa==0.10.2.post1
|
13 |
+
matplotlib==3.8.0
|