Skip to content

Commit

Permalink
removed unused import time
Browse files Browse the repository at this point in the history
Signed-off-by: SarveshAtawane <[email protected]>
  • Loading branch information
SarveshAtawane committed Aug 16, 2024
1 parent 9720f0c commit 618b3d1
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/core/fetch_and_organize_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import subprocess
import shutil
from urllib.parse import urlparse
import time
from utils import load_yaml_file

def download_content(urls, folder_path):
Expand Down Expand Up @@ -39,7 +38,6 @@ def count_downloaded_files(base_path):
print(f"Number of files downloaded: {count}")
except Exception as e:
print(f"An error occurred while counting files in {base_path}: {e}")
time.sleep(5)


def reorganize_files(src_path, dst_path):
Expand Down
1 change: 0 additions & 1 deletion src/core/ingest.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from langchain_community.document_loaders.merge import MergedDataLoader
from langchain.text_splitter import RecursiveCharacterTextSplitter
from langchain.vectorstores import Chroma
import time
from embeddings import embedding_function

config_data = load_yaml_file("config.yaml")
Expand Down

0 comments on commit 618b3d1

Please sign in to comment.