prashant-garg commited on
Commit
96e12ac
·
1 Parent(s): 9fa0554

just checking again

Browse files
Files changed (3) hide show
  1. .asoundrc +8 -0
  2. app.py +4 -0
  3. packages.txt +4 -1
.asoundrc ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ pcm.!default {
2
+ type null
3
+ slave.pcm "null"
4
+ }
5
+ ctl.!default {
6
+ type null
7
+ slave.pcm "null"
8
+ }
app.py CHANGED
@@ -1,6 +1,10 @@
1
  import warnings
2
  warnings.filterwarnings("ignore")
3
 
 
 
 
 
4
  import streamlit as st
5
  import numpy as np
6
  import torch
 
1
  import warnings
2
  warnings.filterwarnings("ignore")
3
 
4
+ import os
5
+ os.environ["SDL_AUDIODRIVER"] = "dummy" # For SDL-based libraries
6
+ os.environ["PYGAME_HIDE_SUPPORT_PROMPT"] = "1" # Optional: Hide pygame welcome message
7
+
8
  import streamlit as st
9
  import numpy as np
10
  import torch
packages.txt CHANGED
@@ -1,2 +1,5 @@
1
  portaudio19-dev
2
- alsa-utils
 
 
 
 
1
  portaudio19-dev
2
+ alsa-utils
3
+ libasound2
4
+ libasound2-plugins
5
+ alsa-oss