abhisheky127 commited on
Commit
246c565
·
1 Parent(s): 997fdd0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -63
app.py CHANGED
@@ -10,69 +10,18 @@ description = "powered by xlm-roberta-large-xnli made by @abhisheky127"
10
  # model="joeddav/xlm-roberta-large-xnli",
11
  # token=access_token)
12
 
13
- categories = ['sports',
14
- 'IPL_2023',
15
- 'Article_370',
16
- 'Oscars_2020',
17
- 'sstr',
18
- 'Wimbledon_2023',
19
- 'bank_frauds',
20
- 'nla',
21
- 'startup',
22
- 'world',
23
- '5f70e894d43821580e6d7044',
24
- 'national',
25
- 'Russia-Ukraine_Conflict',
26
- '2022_FIFA_World_Cup',
27
- 'GangrapesInManipur',
28
- 'facts',
29
- 'sme',
30
- 'npa',
31
- '_₹1000_notes_',
32
- 'VIDEO_NEWS',
33
- 'sb',
34
- 'Asian_Games_2022',
35
- 'budget_2018',
36
- 'politics',
37
- 'automobile',
38
- '₹500',
39
- 'question',
40
- 'rio_olympics',
41
- 'cryptocurrency',
42
- 'education',
43
- 'experiment',
44
- 'assemblyelections2016',
45
- 'science',
46
- 'Ashes_2023',
47
- 'IPL_2021',
48
- 'ngd',
49
- 'no-confidence_motion',
50
- 'Union_Budget_2022-23',
51
- 'technology',
52
- 'BYJUSCrisis',
53
- 'Coronavirus',
54
- 'nwv',
55
- 'sfs',
56
- 'nlb',
57
- 'Health___Fitness',
58
- 'India_Tour_of_West_Indies',
59
- 'kerala_floods',
60
- 'text_image',
61
- 'India_Strikes_Back',
62
- 'delhi_pollution',
63
- 'Women_s_Premier_League_2023',
64
- 'miscellaneous',
65
- 'entertainment',
66
- 'fashion',
67
- 'hatke',
68
- 'business',
69
- 'us_elections',
70
- 'Asia_Cup_2023',
71
- 'travel',
72
- 'कोरोना_वायरस',
73
- 'neg',
74
- 'WTC_FINAL',
75
- 'Union_Budget_2023-24']
76
 
77
 
78
  test_examples = [
 
10
  # model="joeddav/xlm-roberta-large-xnli",
11
  # token=access_token)
12
 
13
+ categories = [
14
+ 'sports',
15
+ 'world',
16
+ 'national',
17
+ 'politics',
18
+ 'automobile',
19
+ 'cryptocurrency',
20
+ 'education',
21
+ 'Coronavirus',
22
+ 'business',
23
+ 'travel'
24
+ ]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
 
27
  test_examples = [