Ravishankarsharma commited on
Commit
e5a70a6
·
verified ·
1 Parent(s): dd76872

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -32,7 +32,7 @@ def predict(image):
32
  # Gradio Interface
33
  demo = gr.Interface(
34
  fn=predict,
35
- inputs=gr.Image(shape=(28, 28), image_mode="L", label="Upload a digit image (28x28 grayscale)"),
36
  outputs="text",
37
  title="MNIST Digit Classifier (InceptionV3)",
38
  description="Upload a digit image (0–9) and get the predicted digit using a PyTorch InceptionV3 model."
 
32
  # Gradio Interface
33
  demo = gr.Interface(
34
  fn=predict,
35
+ inputs=gr.Image(image_mode="L", label="Upload a 28x28 grayscale digit image"),
36
  outputs="text",
37
  title="MNIST Digit Classifier (InceptionV3)",
38
  description="Upload a digit image (0–9) and get the predicted digit using a PyTorch InceptionV3 model."