Spaces:
Running
on
Zero
Running
on
Zero
allow mp4
Browse files- NatureLM/infer.py +1 -0
NatureLM/infer.py
CHANGED
|
@@ -21,6 +21,7 @@ _AUDIO_FILE_EXTENSIONS = [
|
|
| 21 |
".mp3",
|
| 22 |
".flac",
|
| 23 |
".ogg",
|
|
|
|
| 24 |
] # Add other audio file formats as needed
|
| 25 |
_DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 26 |
__root_dir = Path(__file__).parent.parent
|
|
|
|
| 21 |
".mp3",
|
| 22 |
".flac",
|
| 23 |
".ogg",
|
| 24 |
+
".mp4"
|
| 25 |
] # Add other audio file formats as needed
|
| 26 |
_DEVICE = "cuda" if torch.cuda.is_available() else "cpu"
|
| 27 |
__root_dir = Path(__file__).parent.parent
|