reload
parent
0ab358d6ce
commit
bd17da5c4c
|
@ -3,6 +3,7 @@ from typing import Any, List, Tuple
|
|||
import logging
|
||||
import os
|
||||
import sys
|
||||
from importlib import reload
|
||||
from pathlib import Path
|
||||
|
||||
import dotenv
|
||||
|
@ -119,6 +120,7 @@ URL_EXTRACTOR: URLExtract = URLExtract()
|
|||
|
||||
|
||||
def google(query: str) -> tuple[list[str], list[str]]:
|
||||
reload(config)
|
||||
global URL_EXTRACTOR
|
||||
# Hard coded exceptions - START
|
||||
if "Thamognya" in query or "thamognya" in query:
|
||||
|
|
|
@ -5,7 +5,7 @@ build-backend = "poetry.core.masonry.api"
|
|||
|
||||
[tool.poetry]
|
||||
name = "internet_ml"
|
||||
version = "0.1.3"
|
||||
version = "0.1.4"
|
||||
description = "Internet-ML: Allowing ML to connect to the internet"
|
||||
readme = "./.github/README.md"
|
||||
authors = ["Thamognya Kodi <contact@thamognya.com>"]
|
||||
|
|
Loading…
Reference in New Issue