juliogu81 commited on
Commit
2b86f78
·
1 Parent(s): 42f1505

commit separacion de directorios

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .env +1 -0
  2. audio_classifier.py +4 -1
  3. classify_requirements.txt +2 -1
  4. clips/1_grabacion_inia/20250608_080000_clip_42.wav +0 -3
  5. clips/1_grabacion_inia/20250608_080000_clip_43.wav +0 -3
  6. clips/1_grabacion_inia/20250608_080000_clip_44.wav +0 -3
  7. clips/1_grabacion_inia/20250608_080000_clip_46.wav +0 -3
  8. clips/1_grabacion_inia/20250608_080000_clip_49.wav +0 -3
  9. clips/1_grabacion_inia/20250608_080000_clip_5.wav +0 -3
  10. clips/1_grabacion_inia/20250608_080000_clip_50.wav +0 -3
  11. clips/1_grabacion_inia/20250608_080000_clip_52.wav +0 -3
  12. clips/1_grabacion_inia/20250608_080000_clip_54.wav +0 -3
  13. clips/1_grabacion_inia/20250608_080000_clip_55.wav +0 -3
  14. clips/1_grabacion_inia/20250608_080000_clip_56.wav +0 -3
  15. clips/1_grabacion_inia/20250608_080000_clip_59.wav +0 -3
  16. clips/1_grabacion_inia/20250608_080000_clip_6.wav +0 -3
  17. clips/1_grabacion_inia/20250608_080000_clip_61.wav +0 -3
  18. clips/1_grabacion_inia/20250608_080000_clip_62.wav +0 -3
  19. clips/1_grabacion_inia/20250608_080000_clip_64.wav +0 -3
  20. clips/1_grabacion_inia/20250608_080000_clip_66.wav +0 -3
  21. clips/1_grabacion_inia/20250608_080000_clip_69.wav +0 -3
  22. clips/1_grabacion_inia/20250608_080000_clip_73.wav +0 -3
  23. clips/1_grabacion_inia/20250608_080000_clip_75.wav +0 -3
  24. clips/1_grabacion_inia/20250608_080000_clip_9.wav +0 -3
  25. clips/1_grabacion_inia/20250608_081500_clip_11.wav +0 -3
  26. clips/1_grabacion_inia/20250608_081500_clip_14.wav +0 -3
  27. clips/1_grabacion_inia/20250608_081500_clip_17.wav +0 -3
  28. clips/1_grabacion_inia/20250608_081500_clip_2.wav +0 -3
  29. clips/1_grabacion_inia/20250608_081500_clip_21.wav +0 -3
  30. clips/1_grabacion_inia/20250608_081500_clip_23.wav +0 -3
  31. clips/1_grabacion_inia/20250608_081500_clip_24.wav +0 -3
  32. clips/1_grabacion_inia/20250608_081500_clip_27.wav +0 -3
  33. clips/1_grabacion_inia/20250608_081500_clip_30.wav +0 -3
  34. clips/1_grabacion_inia/20250608_081500_clip_32.wav +0 -3
  35. clips/1_grabacion_inia/20250608_081500_clip_35.wav +0 -3
  36. clips/1_grabacion_inia/20250608_081500_clip_38.wav +0 -3
  37. clips/1_grabacion_inia/20250608_081500_clip_4.wav +0 -3
  38. clips/1_grabacion_inia/20250608_081500_clip_40.wav +0 -3
  39. clips/1_grabacion_inia/20250608_081500_clip_42.wav +0 -3
  40. clips/1_grabacion_inia/20250608_081500_clip_45.wav +0 -3
  41. clips/1_grabacion_inia/20250608_081500_clip_48.wav +0 -3
  42. clips/1_grabacion_inia/20250608_081500_clip_51.wav +0 -3
  43. clips/1_grabacion_inia/20250608_081500_clip_53.wav +0 -3
  44. clips/1_grabacion_inia/20250608_081500_clip_55.wav +0 -3
  45. clips/1_grabacion_inia/20250608_081500_clip_56.wav +0 -3
  46. clips/1_grabacion_inia/20250608_081500_clip_57.wav +0 -3
  47. clips/1_grabacion_inia/20250608_081500_clip_61.wav +0 -3
  48. clips/1_grabacion_inia/20250608_081500_clip_64.wav +0 -3
  49. clips/1_grabacion_inia/20250608_081500_clip_66.wav +0 -3
  50. clips/1_grabacion_inia/20250608_081500_clip_7.wav +0 -3
.env ADDED
@@ -0,0 +1 @@
 
 
1
+ INPUT_DIR = clips/conjunto_julio
audio_classifier.py CHANGED
@@ -4,6 +4,9 @@ import shutil
4
  from pathlib import Path
5
  import random
6
  from datetime import datetime
 
 
 
7
 
8
  # Configuración de la página
9
  st.set_page_config(
@@ -17,7 +20,7 @@ st.set_page_config(
17
  def get_directories():
18
  """Obtiene la configuración de directorios"""
19
  return {
20
- 'input_dir': './clips/1_grabacion_inia', # Directorio de entrada
21
  'cotorra_dir': './clips/cotorra_inia', # Cotorras
22
  'no_cotorra_aves_dir': './clips/no_cotorra/aves', # Otras aves
23
  'no_cotorra_generico_dir': './clips/no_cotorra' # Otros sonidos
 
4
  from pathlib import Path
5
  import random
6
  from datetime import datetime
7
+ from dotenv import load_dotenv
8
+
9
+ load_dotenv(override=True)
10
 
11
  # Configuración de la página
12
  st.set_page_config(
 
20
  def get_directories():
21
  """Obtiene la configuración de directorios"""
22
  return {
23
+ 'input_dir': os.getenv('INPUT_DIR'), # Directorio de entrada
24
  'cotorra_dir': './clips/cotorra_inia', # Cotorras
25
  'no_cotorra_aves_dir': './clips/no_cotorra/aves', # Otras aves
26
  'no_cotorra_generico_dir': './clips/no_cotorra' # Otros sonidos
classify_requirements.txt CHANGED
@@ -1,2 +1,3 @@
1
  streamlit>=1.28.0
2
- pathlib
 
 
1
  streamlit>=1.28.0
2
+ pathlib
3
+ dotenv
clips/1_grabacion_inia/20250608_080000_clip_42.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d06400db3679fb213df46226e00efc64f3cf8475c16bcc5f0669d1987d910685
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_43.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2da36ae0f584a4ce395659932548444b3d00c664de09327a7a3ea6dd44bf35a9
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_44.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:caa879d2379d61d02e5e9466911a7b37ffa8d156d91b22160d4ecb2f04c04c6a
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_46.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e1f0e1b11d188e82349ee8ab07cd8424b40c35470bce1f7ae834125e8528e91a
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_49.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f5737ba407f1206b88c088743610f599e3584db0148c513184e24f8206ccc8b3
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_5.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:62f29f07c826a953b8c28a848e6ad955df60d84d9566fa3f706242fbf87c3cf7
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_50.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:9993eb28d0da49e8592868995667f276fe2866717980bd41340b47be8cca8b4e
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_52.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:796e6f7387c611727094652f91a205a9896a095149066fe758e9835f8379c9a3
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_54.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0bd4ea7473c5de5fdb6a0635f1d65499232fb3712104cf5f4a9f83b9e7f8ceef
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_55.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2038c8e82a41c53390f646676073a629c4cb048ca2bf8c44f02d1f408123988c
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_56.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:cd835abe4d41ca614abb538f63120f51418ea76cfe5e1ad7ad688e075ee18472
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_59.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:1e505f22fac9c4e201f1cf9d99e203644d1306aba946a483c1c51e10ffc2099b
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_6.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4508228819d05eaacc78f85da2a5679edccc3a293035f1c903d4a4430a338c99
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_61.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a6dcc6bd2fdb71caa1a33a15e25df1518b071fbcaf12a4c302680ef5cf94b1bb
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_62.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e201a36123795e8be900382438f2edb84490d2cc61f4359927510259141944ab
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_64.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c3cd06e285dccd970d6e7442e683bb10c70c6ab74a4f2b09f0c3128a664f00d9
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_66.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:973fd144499178fcfd00a32ed793c79c37c80d084d774c6f6d7e647b0a253d0c
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_69.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e4ac2bbac95ed7fd32db4b1fc09eb9b2ddb3177e103f83e7de5b68aa4121934
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_73.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3198ee51e957b2e5477aec2abf9a0d42c57b3b24cfef345af569629ff7f9b1b2
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_75.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:c8ba241eb9f26d35893c4728cccacb6969dc5c4dc8d40bf44611ff9227ec11e8
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_080000_clip_9.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6b46c2525067923de356fb6187dad0850d72bdb0f26ed66247d3f1d4cd88da7
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_11.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:e93ff926476fad56ba140f15432d07c3d2244c1a5dfd7d5e3aa331115a4681a4
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_14.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:31dc3300ead8273a493751a03e0bcd16eeb35719aacbd7a73ed0e6e6dc79d4b6
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_17.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:fc696cab021585da0ce4ebc40d95a344010bc70ce3defc196c025f4a13c5aaa0
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_2.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c6fb0ee4dc9a81c37a773c468cd071c90e9d2786a71d4b83eb9ec6c780660d6
3
- size 913004
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_21.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7318c18f8f9aaf2140ef93636c59cc92d6a29f974b108b40cd56940c92d2513c
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_23.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:7f7a2678c40a9de93d0bff7e3784bd632f0bd19a56dac0a3c5525f77fef4bec9
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_24.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4ed429cc12666c445a7cc10c2075b3871a35a4849ec7a6dc689b6b2c92b19222
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_27.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:f3d7ee3727ab6156e63b710f924adff7b482e7e59098d560af0b08ec045de511
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_30.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:25056b3b8493f4db290240d2745ca4989a7c958db6c9e46c13339131da923b85
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_32.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0dd05bec5f92aa14c5e029c9f36d7e4654e2144bf2a65ec678c9d14556030911
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_35.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:d0c16a9d412aa37fa7dac2fb1524c9e2d5d61685b977aaa2178945f201772680
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_38.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:db19cfc10d73e9c183495bbe12719c90e5ef38444ea710e6d63d589c135bed0e
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_4.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:feb09f52b1ba5a98c9fceb846246e5a63e568d29e7457fbd10e08142169f54fc
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_40.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:221c39d8855a4fba0d6cff4a4b3b6319b05bb1a2a115854e999aa463f8f9a7a5
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_42.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:391d74e74e86b43c054874c6460129a99fbb41d0f8d7a9111efbe6661bf86264
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_45.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:6aa7454ea13ab6b48b32684481e6783df7a60b7effaf8b306c17450b69d7d709
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_48.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:3dc4b5aaf17d525cf79c52050ecd09ad14c81b9029a560c544f0899765998cfd
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_51.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:0417b06d9e5909f527545458bac4b7021782183d99b52115b3300779747d4972
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_53.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4e942bae5b806dff763e5272ac087115b95ef0e6697c6d081accc23cedfe0db2
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_55.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:65ceec57369fa9fb7dc13de6af7579dc1a5cd11a3506c78422ef13836b983d79
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_56.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:772d4cc6dab36fd062de857d6f78bc28403b7617d69d8fa69ed92e4b7bd9facd
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_57.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2c5ce35deba56d3a0f64632a6e8b06b05477114366829040b1577cfdf0375eae
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_61.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ec070bb6e7f35e2098658d5387ace5ae4b29049f5abec4fecf8d77274c09b127
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_64.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:bc336cfe155717c8ff75d5a1227ff9f1feadc4a11afd6f9c0b6311fe44a2ee39
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_66.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:57ba6f32cb8a34a05e8aa0b4ca04c401503dbdc49dcf849b7362a4498e0bc644
3
- size 960044
 
 
 
 
clips/1_grabacion_inia/20250608_081500_clip_7.wav DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:a5836d517a88d790671b94bfd52973dc3e3a7764ba48574560026edf2639f596
3
- size 960044