Alidr79 commited on
Commit
e13ee4d
·
verified ·
1 Parent(s): e11fe17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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(42)
28
  # Load model directly
29
  from transformers import AutoProcessor, AutoModelForTextToSpectrogram
30
 
@@ -142,7 +142,7 @@ slider = gr.Slider(
142
  maximum=(len(dataset)-1),
143
  value=86,
144
  step=1,
145
- label="Select a speaker"
146
  )
147
 
148
  # Create the text input component
 
24
  torch.backends.cudnn.deterministic = True
25
  torch.backends.cudnn.benchmark = False
26
 
27
+ set_seed(2)
28
  # Load model directly
29
  from transformers import AutoProcessor, AutoModelForTextToSpectrogram
30
 
 
142
  maximum=(len(dataset)-1),
143
  value=86,
144
  step=1,
145
+ label="Select a speaker (Good examples: 86, 7)"
146
  )
147
 
148
  # Create the text input component