ForzaJuve1 commited on
Commit
dc608fb
1 Parent(s): 6a5490c

Update Integration.py

Browse files
Files changed (1) hide show
  1. Integration.py +8 -10
Integration.py CHANGED
@@ -528,17 +528,15 @@ class Euro2020Dataset(DatasetBuilder):
528
  )
529
 
530
  def _split_generators(self, dl_manager):
531
- # Since the final processed dataset is a single CSV file that combines the content from numerous rows to only 51 rows,
532
- # with each row representing the information of each game, I will just use a single 'train' split and no need for test / validation.
533
-
534
- path = "/content/Euro2020.csv"
535
 
536
- return [
537
- SplitGenerator(
538
- name="train",
539
- gen_kwargs={"filepath": path}
540
- ),
541
- ]
542
 
543
  def _generate_examples(self, path):
544
  data = pd.read_csv(path)
 
528
  )
529
 
530
  def _split_generators(self, dl_manager):
531
+ google_drive_link = "https://drive.google.com/file/d/1RKoAQwq68LASd4ret_OKYUkF4B4m6hnu/view?usp=drive_link"
532
+ downloaded_file_path = dl_manager.download(google_drive_link)
 
 
533
 
534
+ return [
535
+ SplitGenerator(
536
+ name="train",
537
+ gen_kwargs={"filepath": downloaded_file_path}
538
+ ),
539
+ ]
540
 
541
  def _generate_examples(self, path):
542
  data = pd.read_csv(path)