cvergnes commited on
Commit
31ec730
1 Parent(s): 3c92de6
Files changed (3) hide show
  1. app.py +5 -4
  2. bmw_750.jpeg +0 -0
  3. export.pkl +3 -0
app.py CHANGED
@@ -1,7 +1,8 @@
1
  import gradio as gr
2
 
3
- def greet(name):
4
- return "Hello " + name + "!!"
 
5
 
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- iface.launch()
 
1
  import gradio as gr
2
 
3
+ image = gr.inputs.image(shape=192,192))
4
+ label = gr.outputs.Label()
5
+ examples = ['bmw_750.jpeg']
6
 
7
+ intf = gr.Interface(fn=classify_image, inputs=image, outpluts=label, examples=examples)
8
+ intf.launch(inline=False)
bmw_750.jpeg ADDED
export.pkl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5ca5b5a3067f15e9743bba82f10742d9b492211b17ff56f2631dcc5f7885a3b7
3
+ size 47008545