File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11apiVersion : apps/v1
2- kind : StatefulSet
2+ kind : Deployment
33metadata :
44 name : {{ include "doggo.fullname" . }}
55 labels :
66 {{- include "doggo.labels" . | nindent 4 }}
77spec :
88 replicas : 1
9- updateStrategy :
10- type : RollingUpdate
119 selector :
1210 matchLabels :
1311 {{- include "doggo.selectorLabels" . | nindent 6 }}
Original file line number Diff line number Diff line change @@ -224,7 +224,8 @@ def _listen_sync(self):
224224 audio = sd .rec (int (RECORDING_DURATION * sd .default .samplerate ), channels = 1 , samplerate = sd .default .samplerate )
225225 sd .wait ()
226226
227- # audio = librosa.resample(audio, orig_sr=sd.default.samplerate, target_sr=16000)
227+ # if sd.default.samplerate != 16000:
228+ # audio = librosa.resample(audio, orig_sr=sd.default.samplerate, target_sr=16000)
228229
229230 bytes_io = BytesIO ()
230231 bytes_io .name = "audio.mp3"
You can’t perform that action at this time.
0 commit comments