Ponleur commited on
Commit
55d479c
·
verified ·
1 Parent(s): e0c6890

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -77,9 +77,9 @@ def classify_image(image):
77
  # Create Gradio interface
78
  interface = gr.Interface(
79
  fn=classify_image, # Function to handle predictions
80
- inputs=gr.inputs.Image(type="pil"), # Accept image input
81
- outputs="text", # Display output as text
82
- title="Image Classification",
83
  description="Upload an image to classify it into one of the predefined classes."
84
  )
85
 
 
77
  # Create Gradio interface
78
  interface = gr.Interface(
79
  fn=classify_image, # Function to handle predictions
80
+ inputs=gr.Image(type="pil", label="Original Images"), # Accept image input
81
+ outputs=gr.Textbox(label="Label "), # Display output as text
82
+ title="German Traffic Sign Recognition",
83
  description="Upload an image to classify it into one of the predefined classes."
84
  )
85