mr-robber commited on
Commit
c9f26ab
1 Parent(s): 2843d0f

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -0
app.py ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+ from bs4 import BeautifulSoup
3
+ import requests
4
+ import re
5
+ import pandas as pd
6
+ def sketch_recognition(text):
7
+ url = 'http://www.imdb.com/chart/top'
8
+ response = requests.get(url)
9
+ soup = BeautifulSoup(response.text, "html.parser")
10
+ return response
11
+
12
+ gr.Interface(fn=sketch_recognition, inputs="text", outputs="text").launch()