Skip to content

Commit a6f3de1

Browse files
Update edge-tts.py
1 parent f185697 commit a6f3de1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tts/edge-tts.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,17 @@
1616

1717
import os
1818

19-
from tabulate import tabulate
20-
2119
from pyrogram import Client, filters
2220
from pyrogram.types import Message
2321

2422
from utils.misc import modules_help, prefix
2523
from utils.scripts import format_exc, import_library
2624

25+
tabulate = import_library("tabulate")
2726
edge_tts = import_library("edge_tts", "edge-tts")
2827

28+
from tabulate import tabulate
29+
2930
from edge_tts import Communicate, list_voices
3031
from edge_tts.constants import DEFAULT_VOICE
3132

0 commit comments

Comments
 (0)