tannuiscoding commited on
Commit
70b54f0
·
1 Parent(s): 09000c8

Fix deployment for Hugging Face Spaces using gunicorn

Browse files
Files changed (2) hide show
  1. app.py +2 -2
  2. requirements.txt +4 -3
app.py CHANGED
@@ -128,5 +128,5 @@ def analyze_audio():
128
  finally:
129
  pass
130
 
131
- if __name__ == '__main__':
132
- app.run(debug=True)
 
128
  finally:
129
  pass
130
 
131
+ # if __name__ == '__main__':
132
+ # app.run(debug=True)
requirements.txt CHANGED
@@ -1,6 +1,7 @@
1
  Flask
2
- numpy
3
  librosa
 
4
  joblib
5
- speechrecognition
6
- werkzeug
 
1
  Flask
2
+ gunicorn
3
  librosa
4
+ numpy
5
  joblib
6
+ SpeechRecognition
7
+ scikit-learn