LiveEvil commited on
Commit
1b0040d
·
1 Parent(s): f864425

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -1,7 +1,3 @@
1
  import gradio as gr
2
-
3
- def image_classifier(inp):
4
- return {'normal': 0.3, 'bullying': 0.7}
5
-
6
- demo = gr.Interface(fn=image_classifier, inputs="image", outputs="label")
7
  demo.launch()
 
1
  import gradio as gr
2
+ demo = gr.Interface.load("models/datasciencemmw/pickonai-best", inputs="image", outputs="label")
 
 
 
 
3
  demo.launch()