Commit
·
fd21f2f
1
Parent(s):
1b8ac52
Import logging module and reorder imports
Browse files
main.py
CHANGED
@@ -1,10 +1,10 @@
|
|
|
|
1 |
import os
|
2 |
import random
|
3 |
from datetime import timedelta
|
4 |
-
|
5 |
from statistics import mean
|
6 |
-
from typing import Any, Iterator, Union
|
7 |
-
|
8 |
import fasttext
|
9 |
from cashews import cache
|
10 |
from dotenv import load_dotenv
|
@@ -14,7 +14,6 @@ from huggingface_hub import hf_hub_download
|
|
14 |
from iso639 import Lang
|
15 |
from starlette.responses import RedirectResponse
|
16 |
from toolz import concat, groupby, valmap
|
17 |
-
import logging
|
18 |
|
19 |
cache.setup("mem://")
|
20 |
|
|
|
1 |
+
import logging
|
2 |
import os
|
3 |
import random
|
4 |
from datetime import timedelta
|
|
|
5 |
from statistics import mean
|
6 |
+
from typing import Annotated, Any, Iterator, Union
|
7 |
+
|
8 |
import fasttext
|
9 |
from cashews import cache
|
10 |
from dotenv import load_dotenv
|
|
|
14 |
from iso639 import Lang
|
15 |
from starlette.responses import RedirectResponse
|
16 |
from toolz import concat, groupby, valmap
|
|
|
17 |
|
18 |
cache.setup("mem://")
|
19 |
|