Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -24,7 +24,7 @@ def set_seed(seed):
|
|
24 |
torch.backends.cudnn.deterministic = True
|
25 |
torch.backends.cudnn.benchmark = False
|
26 |
|
27 |
-
set_seed(
|
28 |
# Load model directly
|
29 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram
|
30 |
|
|
|
24 |
torch.backends.cudnn.deterministic = True
|
25 |
torch.backends.cudnn.benchmark = False
|
26 |
|
27 |
+
set_seed(1)
|
28 |
# Load model directly
|
29 |
from transformers import AutoProcessor, AutoModelForTextToSpectrogram
|
30 |
|