Added stuff
This commit is contained in:
+2
-1
@@ -8,13 +8,14 @@ import sys
|
||||
|
||||
def main():
|
||||
infile = sys.argv[1]
|
||||
max_ = int(sys.argv[2])
|
||||
wavefile = wave.open(infile, "rb")
|
||||
os.makedirs("big_chop_output", exist_ok=True)
|
||||
|
||||
samples_per_slice = wavefile.getframerate()
|
||||
|
||||
i = 0
|
||||
while True:
|
||||
while i < max_:
|
||||
filename = os.path.join("big_chop_output", f"{i}.wav")
|
||||
|
||||
sound_data = wavefile.readframes(samples_per_slice)
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
1500
|
||||
@@ -4,4 +4,4 @@ podman run -it \
|
||||
-e "REPORT_INTERVAL=552546" \
|
||||
-e 'MODEL_INFO_URL=https://birb.k8s.kmlabz.com/model/svm/$default' \
|
||||
-e "REPORT_URL=http://localhost/" \
|
||||
registry.kmlabz.com/birbnetes/svm-prefilter-service
|
||||
registry.kmlabz.com/birbnetes/svm-prefilter-service:latest
|
||||
|
||||
Reference in New Issue
Block a user