i am trying to deploy y music app but unable to deploy constantly getting error
1. exploremusic.streamlit.app
2. GitHub - Hassan-Muhammad-Yousuf/Music_Genre_Classifier_ML
3. ```
OSError: PortAudio library not found
2024-12-01 21:54:20.755 503 GET /script-health-check (127.0.0.1) 531.27ms
────────────────────── Traceback (most recent call last) ───────────────────────
/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru
nner/exec_code.py:88 in exec_func_with_error_handling
/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptru
nner/script_runner.py:579 in code_to_exec
/mount/src/music_genre_classifier_ml/app/src/main.py:6 in
3 import numpy as np
4 import librosa
5 from tensorflow.image import resize
❱ 6 import sounddevice as sd
7 from scipy.io.wavfile import write
8 import tempfile
9 import os
/home/adminuser/venv/lib/python3.12/site-packages/sounddevice.py:71 in
```
68 │ │ if _libname is not None:
69 │ │ │ break
70 │ else:
❱ 71 │ │ raise OSError('PortAudio library not found')
72 │ _lib = _ffi.dlopen(_libname)
73 except OSError:
74 │ if _platform.system() == 'Darwin':
────────────────────────────────────────────────────────────────────────────────
OSError: PortAudio library not found
2024-12-01 21:54:25.737 503 GET /script-health-check (127.0.0.1) 508.15ms
```.
OSError: This app has encountered an error. The original error message is redacted to prevent data leaks. Full error details have been recorded in the logs (if you're on Streamlit Cloud, click on 'Manage app' in the lower right of your app).
Traceback:
File "/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/home/adminuser/venv/lib/python3.12/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.__dict__)
File "/mount/src/music_genre_classifier_ml/app/src/main.py", line 6, in <module>
import sounddevice as sd
File "/home/adminuser/venv/lib/python3.12/site-packages/sounddevice.py", line 71, in <module>
raise OSError('PortAudio library not found')
4. librosa==0.10.2.post1
numpy
scipy==1.14.1
sounddevice==0.5.1
streamlit==1.40.2
tensorflow==2.16.2