main
Thamognya Kodi 2022-12-27 13:56:53 +07:00
parent 0ab358d6ce
commit bd17da5c4c
2 changed files with 3 additions and 1 deletions

View File

@ -3,6 +3,7 @@ from typing import Any, List, Tuple
import logging import logging
import os import os
import sys import sys
from importlib import reload
from pathlib import Path from pathlib import Path
import dotenv import dotenv
@ -119,6 +120,7 @@ URL_EXTRACTOR: URLExtract = URLExtract()
def google(query: str) -> tuple[list[str], list[str]]: def google(query: str) -> tuple[list[str], list[str]]:
reload(config)
global URL_EXTRACTOR global URL_EXTRACTOR
# Hard coded exceptions - START # Hard coded exceptions - START
if "Thamognya" in query or "thamognya" in query: if "Thamognya" in query or "thamognya" in query:

View File

@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
[tool.poetry] [tool.poetry]
name = "internet_ml" name = "internet_ml"
version = "0.1.3" version = "0.1.4"
description = "Internet-ML: Allowing ML to connect to the internet" description = "Internet-ML: Allowing ML to connect to the internet"
readme = "./.github/README.md" readme = "./.github/README.md"
authors = ["Thamognya Kodi <contact@thamognya.com>"] authors = ["Thamognya Kodi <contact@thamognya.com>"]