Spaces:
Sleeping
Sleeping
Commit
•
8922e00
1
Parent(s):
891e37e
Foo
Browse files
app.py
CHANGED
@@ -22,7 +22,6 @@ thread.start()
|
|
22 |
API_URL = "http://0.0.0.0:60808/chat"
|
23 |
|
24 |
# recording parameters
|
25 |
-
IN_FORMAT = pyaudio.paInt16
|
26 |
IN_CHANNELS = 1
|
27 |
IN_RATE = 24000
|
28 |
IN_CHUNK = 1024
|
@@ -30,7 +29,6 @@ IN_SAMPLE_WIDTH = 2
|
|
30 |
VAD_STRIDE = 0.5
|
31 |
|
32 |
# playing parameters
|
33 |
-
OUT_FORMAT = pyaudio.paInt16
|
34 |
OUT_CHANNELS = 1
|
35 |
OUT_RATE = 24000
|
36 |
OUT_SAMPLE_WIDTH = 2
|
|
|
22 |
API_URL = "http://0.0.0.0:60808/chat"
|
23 |
|
24 |
# recording parameters
|
|
|
25 |
IN_CHANNELS = 1
|
26 |
IN_RATE = 24000
|
27 |
IN_CHUNK = 1024
|
|
|
29 |
VAD_STRIDE = 0.5
|
30 |
|
31 |
# playing parameters
|
|
|
32 |
OUT_CHANNELS = 1
|
33 |
OUT_RATE = 24000
|
34 |
OUT_SAMPLE_WIDTH = 2
|