LiveEvil commited on
Commit
6017b28
·
1 Parent(s): 861acef

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,3 +1,7 @@
1
  import gradio as gr
2
- demo = gr.Interface.load("datasciencemmw/pickonai-best", inputs="image", outputs="label")
 
 
 
 
3
  demo.launch()
 
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()