ipd commited on
Commit
e2893d6
1 Parent(s): 15b93c3
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -48,13 +48,13 @@ def predict(Image):
48
 
49
 
50
 
51
- image = gr.Image(shape=(224, 224), image_mode="RGB")
52
- label = gr.Label(label="Grade")
53
 
54
  demo = gr.Interface(
55
  fn=predict,
56
- inputs=image,
57
- outputs=image,#label,
58
  examples=["examples/0.png", "examples/1.png", "examples/2.png", "examples/3.png", "examples/4.png"]
59
  )
60
 
 
48
 
49
 
50
 
51
+ #image = gr.Image(shape=(224, 224), image_mode="RGB")
52
+ #label = gr.Label(label="Grade")
53
 
54
  demo = gr.Interface(
55
  fn=predict,
56
+ inputs="image",
57
+ outputs="image",#label,
58
  examples=["examples/0.png", "examples/1.png", "examples/2.png", "examples/3.png", "examples/4.png"]
59
  )
60