Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
@@ -5,7 +5,7 @@ import cv2
|
|
5 |
import numpy as np
|
6 |
from gtts import gTTS
|
7 |
|
8 |
-
def tts(text: str, language="ja") -> object:
|
9 |
"""Converts text into autoplay html.
|
10 |
Args:
|
11 |
text (str): generated answer of bot
|
|
|
5 |
import numpy as np
|
6 |
from gtts import gTTS
|
7 |
|
8 |
+
def tts(text: str, language="ja", encode=False) -> object:
|
9 |
"""Converts text into autoplay html.
|
10 |
Args:
|
11 |
text (str): generated answer of bot
|