ajinkyakolhe112 commited on
Commit
ca03e27
·
verified ·
1 Parent(s): cd1bdbb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -25,7 +25,7 @@ demo = gr.Blocks(title="Image Classification for 1000 Objects", css=".gradio-con
25
  gr.HTML("""<div style="font-family:'Times New Roman', 'Serif'; font-size:16pt; font-weight:bold; text-align:center; color:royalblue;">Image Classification for 1000 Objects</div>""")
26
 
27
  with gr.Row():
28
- input_image = gr.Image(type="filepath", image_mode="L", shape=(224, 224))
29
  output_label = gr.Label(label="Probabilities", num_top_classes=3)
30
 
31
  send_btn = gr.Button("Infer")
 
25
  gr.HTML("""<div style="font-family:'Times New Roman', 'Serif'; font-size:16pt; font-weight:bold; text-align:center; color:royalblue;">Image Classification for 1000 Objects</div>""")
26
 
27
  with gr.Row():
28
+ input_image = gr.Image(type="filepath", image_mode="L")
29
  output_label = gr.Label(label="Probabilities", num_top_classes=3)
30
 
31
  send_btn = gr.Button("Infer")