Spaces:
Runtime error
Runtime error
CognitiveScience
commited on
Commit
·
c6f2109
1
Parent(s):
a5c0d1b
Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
import gradio as gr
|
2 |
from bs4 import BeautifulSoup
|
3 |
import requests
|
4 |
-
|
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,8 +32,9 @@ def greet(link):
|
|
32 |
viewSoupMeta= soup
|
33 |
'''
|
34 |
#viewSoupMeta = API_Data #str(response).find("viewCount")
|
|
|
35 |
|
36 |
-
return result #soup.prettify()
|
37 |
|
38 |
|
39 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|
|
|
1 |
import gradio as gr
|
2 |
from bs4 import BeautifulSoup
|
3 |
import requests
|
4 |
+
from python_actr import * #Example1Hello
|
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=checkcelsci("dd")
|
36 |
|
37 |
+
return response3 #result #soup.prettify()
|
38 |
|
39 |
|
40 |
iface = gr.Interface(fn=greet, inputs="text", outputs="text")
|