Commit
·
b3082d4
1
Parent(s):
a859be3
no filter
Browse files
app.py
CHANGED
|
@@ -629,7 +629,7 @@ def generate_speech_for_sentence(history, chatbot_role, sentence, return_as_byte
|
|
| 629 |
continue
|
| 630 |
|
| 631 |
# Filter output for better voice
|
| 632 |
-
filter_output=
|
| 633 |
if filter_output:
|
| 634 |
data_s16 = np.frombuffer(wav_bytestream, dtype=np.int16, count=len(wav_bytestream)//2, offset=0)
|
| 635 |
float_data = data_s16 * 0.5**15
|
|
|
|
| 629 |
continue
|
| 630 |
|
| 631 |
# Filter output for better voice
|
| 632 |
+
filter_output=False
|
| 633 |
if filter_output:
|
| 634 |
data_s16 = np.frombuffer(wav_bytestream, dtype=np.int16, count=len(wav_bytestream)//2, offset=0)
|
| 635 |
float_data = data_s16 * 0.5**15
|