liyucheng commited on
Commit
bb7b387
1 Parent(s): af08491

try to fix bugs

Browse files
Files changed (2) hide show
  1. bbc_alltime.py +3 -5
  2. configs.txt +73 -0
bbc_alltime.py CHANGED
@@ -4,12 +4,10 @@ import os
4
  import sys
5
 
6
  dl = datasets.DownloadManager()
7
- configs_file = dl.download('https://huggingface.co/datasets/RealTimeData/bbc_alltime/raw/main/configs.py')
8
 
9
- path = os.path.dirname(configs_file)
10
- sys.path.append(path)
11
-
12
- from configs import _TIMES
13
 
14
  _CITATION = """\
15
  @misc{li2023estimating,
 
4
  import sys
5
 
6
  dl = datasets.DownloadManager()
7
+ configs_file = dl.download('https://huggingface.co/datasets/RealTimeData/bbc_alltime/raw/main/configs.txt')
8
 
9
+ with open(configs_file, encoding="utf-8") as f:
10
+ _TIMES = f.read().splitlines()
 
 
11
 
12
  _CITATION = """\
13
  @misc{li2023estimating,
configs.txt ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2017-1
2
+ 2017-10
3
+ 2017-11
4
+ 2017-12
5
+ 2017-2
6
+ 2017-3
7
+ 2017-4
8
+ 2017-5
9
+ 2017-6
10
+ 2017-7
11
+ 2017-8
12
+ 2017-9
13
+ 2018-1
14
+ 2018-10
15
+ 2018-11
16
+ 2018-12
17
+ 2018-2
18
+ 2018-3
19
+ 2018-4
20
+ 2018-5
21
+ 2018-6
22
+ 2018-7
23
+ 2018-8
24
+ 2018-9
25
+ 2019-1
26
+ 2019-10
27
+ 2019-11
28
+ 2019-12
29
+ 2019-2
30
+ 2019-3
31
+ 2019-4
32
+ 2019-5
33
+ 2019-6
34
+ 2019-7
35
+ 2019-8
36
+ 2019-9
37
+ 2020-1
38
+ 2020-10
39
+ 2020-11
40
+ 2020-12
41
+ 2020-2
42
+ 2020-3
43
+ 2020-4
44
+ 2020-5
45
+ 2020-6
46
+ 2020-7
47
+ 2020-8
48
+ 2020-9
49
+ 2021-1
50
+ 2021-10
51
+ 2021-11
52
+ 2021-12
53
+ 2021-2
54
+ 2021-3
55
+ 2021-4
56
+ 2021-5
57
+ 2021-6
58
+ 2021-7
59
+ 2021-8
60
+ 2021-9
61
+ 2022-1
62
+ 2022-10
63
+ 2022-11
64
+ 2022-12
65
+ 2022-2
66
+ 2022-3
67
+ 2022-4
68
+ 2022-5
69
+ 2022-6
70
+ 2022-7
71
+ 2022-8
72
+ 2022-9
73
+ all