File size: 421 Bytes
405af5a
 
 
17f8c84
247e064
1cb4f86
209d0f4
63666cb
71e0f1f
1cb4f86
 
63666cb
1cb4f86
247e064
405af5a
1cb4f86
405af5a
 
17f8c84
405af5a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import gradio as gr
from bs4 import BeautifulSoup
import requests
from youtube1 import getviews
from textsentiment import getresult
#from python_actr import *
#from cogscidighum import *


#class myCelSci(Model):
#    pass
    
def main(link):
    response=getviews(link)+getresult("hello world")

    return  response #result #soup.prettify()


iface = gr.Interface(fn=main, inputs="text", outputs="text")
iface.launch()