sonobit commited on
Commit
0e3d5d5
1 Parent(s): 157e9a8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -4
app.py CHANGED
@@ -1,5 +1,6 @@
1
- import streamlit as st
2
 
3
- a = st.number_input('A', 0, 10)
4
- b = st.number_input('B', 0, 10)
5
- st.write('A+B =', a+b)
 
 
1
+ import gradio as gr
2
 
3
+ gr.Interface(fn=classify_image,
4
+ inputs=gr.Image(shape=(224, 224)),
5
+ outputs=gr.Label(num_top_classes=3),
6
+ examples=["banana.jpg", "car.jpg"]).launch()