themehmi commited on
Commit
c6753d1
·
verified ·
1 Parent(s): f84e081

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -0
main.py CHANGED
@@ -18,6 +18,9 @@ import urllib.parse
18
  import webbrowser
19
  import re
20
 
 
 
 
21
  import numpy as np
22
  import scipy.io.wavfile as wavfile
23
  import pygame
 
18
  import webbrowser
19
  import re
20
 
21
+ # Force dummy audio driver for headless container environments
22
+ os.environ["SDL_AUDIODRIVER"] = "dummy"
23
+
24
  import numpy as np
25
  import scipy.io.wavfile as wavfile
26
  import pygame