deeksonparlma commited on
Commit
3f98a5e
·
1 Parent(s): a029f19
Files changed (3) hide show
  1. app.py +9 -0
  2. model.pkl +3 -0
  3. requirements.txt +4 -0
app.py ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ loaded_model = pickle.load(open("model.pkl", "rb"))
4
+ def greet(img):
5
+ pred = loaded_model(img)
6
+ return pred
7
+
8
+ iface = gr.Interface(fn=greet, inputs="text", outputs="text")
9
+ iface.launch()
model.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b18274debd00d65007d523f2c93b05ab6e4d7727dc904ead01758991bbe1dead
3
+ size 42
requirements.txt ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ tflearn
2
+ gradio
3
+ nltk
4
+ tensorflow