Update app.py
Browse files
app.py
CHANGED
@@ -60,12 +60,16 @@ if submit:
|
|
60 |
st.subheader("Output :")
|
61 |
st.write(response)
|
62 |
|
63 |
-
st.
|
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()
|