CognitiveScience commited on
Commit
ecb1daa
1 Parent(s): 27c3b6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -1,10 +1,12 @@
1
  import gradio as gr
2
  from bs4 import BeautifulSoup
3
  import requests
4
- from python_actr import *
 
 
5
  #from python_actr import Celsci
6
 
7
- class myCelSci(Model):
8
  pass
9
 
10
  def greet(link):
@@ -37,7 +39,7 @@ def greet(link):
37
  '''
38
  #viewSoupMeta = API_Data #str(response).find("viewCount")
39
  celsci1=myCelSci()
40
- response3= celsci1.name #celsci1.celscilist["dd"]['x']['followers'] #checkfame("dd")
41
 
42
  return response3 #result #soup.prettify()
43
 
 
1
  import gradio as gr
2
  from bs4 import BeautifulSoup
3
  import requests
4
+ #from python_actr import *
5
+ from celsci import *
6
+
7
  #from python_actr import Celsci
8
 
9
+ class myCelSci(Celsci):
10
  pass
11
 
12
  def greet(link):
 
39
  '''
40
  #viewSoupMeta = API_Data #str(response).find("viewCount")
41
  celsci1=myCelSci()
42
+ response3= celsci1.celscilist["dd"]['x']['followers'] #checkfame("dd")
43
 
44
  return response3 #result #soup.prettify()
45