Spaces:
Sleeping
Sleeping
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -3,7 +3,7 @@ import base64
|
|
| 3 |
from PIL import Image
|
| 4 |
import cv2
|
| 5 |
import numpy as np
|
| 6 |
-
|
| 7 |
|
| 8 |
def tts(text: str, language="ja") -> object:
|
| 9 |
"""Converts text into autoplay html.
|
|
|
|
| 3 |
from PIL import Image
|
| 4 |
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.
|