Spaces:
Runtime error
Runtime error
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() |