jayparmar0109 commited on
Commit
5fd871f
·
verified ·
1 Parent(s): 2710fa6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -3
app.py CHANGED
@@ -60,12 +60,16 @@ if submit:
60
  st.subheader("Output :")
61
  st.write(response)
62
 
63
- st.examples =
64
- (
 
 
65
  [
66
  "./examples/Business_card.jpg",
67
  ],
68
  [
69
  "./examples/Business_card10.jpg",
70
  ]
71
- )
 
 
 
60
  st.subheader("Output :")
61
  st.write(response)
62
 
63
+ st.Interface(fn=classify_image,
64
+ inputs=gr.inputs.Image(shape=(224, 224)),
65
+ outputs=gr.outputs.Label(num_top_classes=3),
66
+ examples= (
67
  [
68
  "./examples/Business_card.jpg",
69
  ],
70
  [
71
  "./examples/Business_card10.jpg",
72
  ]
73
+ ),
74
+ theme="default",
75
+ css=".footer{display:none !important}").launch()