Spaces:
Runtime error
Runtime error
Commit
·
17f8c84
1
Parent(s):
1cb4f86
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 |
#from python_actr import *
|
| 6 |
#from cogscidighum import *
|
| 7 |
|
|
@@ -15,5 +15,5 @@ def main(link):
|
|
| 15 |
return response #result #soup.prettify()
|
| 16 |
|
| 17 |
|
| 18 |
-
iface = gr.Interface(fn=
|
| 19 |
iface.launch()
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
from bs4 import BeautifulSoup
|
| 3 |
import requests
|
| 4 |
+
from youtube1 import getviews
|
| 5 |
#from python_actr import *
|
| 6 |
#from cogscidighum import *
|
| 7 |
|
|
|
|
| 15 |
return response #result #soup.prettify()
|
| 16 |
|
| 17 |
|
| 18 |
+
iface = gr.Interface(fn=main, inputs="text", outputs="text")
|
| 19 |
iface.launch()
|