prashant-garg commited on
Commit
71edc1f
·
1 Parent(s): 8e041c6

removing pyaudio

Browse files
Files changed (3) hide show
  1. .gitignore +1 -0
  2. app.py +0 -5
  3. space.yaml +1 -3
.gitignore ADDED
@@ -0,0 +1 @@
 
 
1
+ .venv
app.py CHANGED
@@ -2,11 +2,6 @@
2
  Streamlit application for real-time gender detection from audio input.
3
  Uses wav2vec2 model to analyze voice and predict speaker gender.
4
  """
5
- import os
6
-
7
- # Install system dependencies on startup
8
- os.system("apt-get update && apt-get install -y portaudio19-dev")
9
-
10
  import streamlit as st
11
  import pyaudio
12
  import numpy as np
 
2
  Streamlit application for real-time gender detection from audio input.
3
  Uses wav2vec2 model to analyze voice and predict speaker gender.
4
  """
 
 
 
 
 
5
  import streamlit as st
6
  import pyaudio
7
  import numpy as np
space.yaml CHANGED
@@ -1,5 +1,3 @@
1
  # space.yaml
2
  sdk: streamlit # or "gradio" if using Gradio
3
- python_version: 3.10
4
- apt_packages:
5
- - portaudio19-dev # Install PortAudio system dependency
 
1
  # space.yaml
2
  sdk: streamlit # or "gradio" if using Gradio
3
+ python_version: 3.10