Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
•
dc4130a
1
Parent(s):
fb47713
Update app.py
Browse files
app.py
CHANGED
@@ -2,7 +2,6 @@ import gradio as gr
|
|
2 |
from bs4 import BeautifulSoup
|
3 |
import requests
|
4 |
from python_actr import *
|
5 |
-
#from python_actr import csdh
|
6 |
|
7 |
def greet(link):
|
8 |
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'}
|
@@ -33,7 +32,7 @@ def greet(link):
|
|
33 |
viewSoupMeta= soup
|
34 |
'''
|
35 |
#viewSoupMeta = API_Data #str(response).find("viewCount")
|
36 |
-
response3=
|
37 |
|
38 |
return response3 #result #soup.prettify()
|
39 |
|
|
|
2 |
from bs4 import BeautifulSoup
|
3 |
import requests
|
4 |
from python_actr import *
|
|
|
5 |
|
6 |
def greet(link):
|
7 |
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'}
|
|
|
32 |
viewSoupMeta= soup
|
33 |
'''
|
34 |
#viewSoupMeta = API_Data #str(response).find("viewCount")
|
35 |
+
response3= celsci.celscilist["dd"]['x']['followers'] #checkfame("dd")
|
36 |
|
37 |
return response3 #result #soup.prettify()
|
38 |
|