Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def set_seed(seed):
|
|
18 |
if torch.cuda.is_available():
|
19 |
torch.cuda.manual_seed_all(seed)
|
20 |
|
21 |
-
set_seed(
|
22 |
# Load model directly
|
23 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram
|
24 |
|
|
|
18 |
if torch.cuda.is_available():
|
19 |
torch.cuda.manual_seed_all(seed)
|
20 |
|
21 |
+
set_seed(42)
|
22 |
# Load model directly
|
23 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram
|
24 |
|