mr-robber's picture
Upload app.py
c9f26ab
raw
history blame
352 Bytes
import gradio as gr
from bs4 import BeautifulSoup
import requests
import re
import pandas as pd
def sketch_recognition(text):
url = 'http://www.imdb.com/chart/top'
response = requests.get(url)
soup = BeautifulSoup(response.text, "html.parser")
return response
gr.Interface(fn=sketch_recognition, inputs="text", outputs="text").launch()