added model training
This commit is contained in:
parent
1f42dd374e
commit
cd670b95ea
@ -14,14 +14,10 @@ def check_datasets_presence():
|
||||
|
||||
dataset_1 = "Spotify_Dataset.csv"
|
||||
dataset_2 = "spotify_songs.csv"
|
||||
destination_folder = "datasets"
|
||||
destination_folder = "artifacts"
|
||||
|
||||
if not os.path.exists(destination_folder):
|
||||
os.makedirs(destination_folder)
|
||||
print(f"Utworzono folder: {destination_folder}")
|
||||
else:
|
||||
print(f"Folder {destination_folder} już istnieje.")
|
||||
|
||||
raise FileNotFoundError(destination_folder + " folder not found")
|
||||
if dataset_1 in os.listdir("/."):
|
||||
shutil.move(dataset_1, destination_folder)
|
||||
elif dataset_1 not in os.listdir(destination_folder):
|
||||
|
Loading…
Reference in New Issue
Block a user