ford442 commited on
Commit
f6deefe
·
verified ·
1 Parent(s): 054d10f

Update demos/musicgen_app.py

Browse files
Files changed (1) hide show
  1. demos/musicgen_app.py +1 -0
demos/musicgen_app.py CHANGED
@@ -20,6 +20,7 @@ from audiocraft.models import MusicGen, MultiBandDiffusion
20
  import multiprocessing as mp
21
 
22
  # --- Utility Functions and Classes ---
 
23
 
24
  class FileCleaner: # Unchanged
25
  def __init__(self, file_lifetime: float = 3600):
 
20
  import multiprocessing as mp
21
 
22
  # --- Utility Functions and Classes ---
23
+ import warnings # <--- Import the warnings module!
24
 
25
  class FileCleaner: # Unchanged
26
  def __init__(self, file_lifetime: float = 3600):