CognitiveScience commited on
Commit
d1db3a7
1 Parent(s): c9aa3ad

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -5,9 +5,8 @@ import requests
5
  from cogscidighum import Celsci
6
 
7
  class myCelSci(Celsci):
8
- def as1():
9
- as2=Celsci.fame()
10
- return as2(Celsci.celscilist["dd"]['x']['followers'])
11
 
12
  def greet(link):
13
  HEADER = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
@@ -42,7 +41,7 @@ def greet(link):
42
  celsci1=Celsci()
43
 
44
 
45
- response3= celsci1.as1() #celscilist["dd"]['x']['followers'] #celsci1.fame(300) #checkfame("dd")
46
 
47
  return response3 #result #soup.prettify()
48
 
 
5
  from cogscidighum import Celsci
6
 
7
  class myCelSci(Celsci):
8
+ as2=Celsci.fame(Celsci.celscilist["dd"]['x']['followers'])
9
+ return as2
 
10
 
11
  def greet(link):
12
  HEADER = {"User-Agent": 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.102 Safari/537.36'}
 
41
  celsci1=Celsci()
42
 
43
 
44
+ response3= celsci1.as2 #celscilist["dd"]['x']['followers'] #celsci1.fame(300) #checkfame("dd")
45
 
46
  return response3 #result #soup.prettify()
47