Spaces:
Sleeping
A newer version of the Streamlit SDK is available: 1.57.0
title: Pavi
emoji: π
colorFrom: indigo
colorTo: yellow
sdk: streamlit
sdk_version: 1.41.1
app_file: app.py
pinned: false
Pavi π
This is a Streamlit app that provides analytics and data visualization features. To ensure the app works correctly, especially when using audio-related libraries like sounddevice, some system dependencies need to be installed on Hugging Face Spaces.
How Dependencies Are Managed on Hugging Face Spaces
Python Dependencies: Use a
requirements.txtfile to list all Python packages required for the app.For example, the
requirements.txtshould include:streamlit==1.41.1 sounddeviceSystem Dependencies: Hugging Face Spaces allows the use of an
apt.txtfile to install system-level packages. To ensure PortAudio and other necessary libraries are installed, add them toapt.txt.Example
apt.txtcontent:portaudio19-dev libasound-dev libportaudio2 libportaudiocpp0
How to Run the App
Once the dependencies are set up, Hugging Face Spaces will automatically install everything when deploying the app. You can run the app locally or view it on the deployed Hugging Face Spaces URL.
To run the app locally:
streamlit run app.py