amjadfqs commited on
Commit
e36a241
·
verified ·
1 Parent(s): 60c94e7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -5,6 +5,6 @@ def predict(image):
5
  model = gr.load("models/amjadfqs/finalProject")
6
  return model(image)
7
 
8
- image_cp = gr.image(type="pil", label="Brain")
9
  interface = gr.Interface(fn=predict, inputs=image_cp, outputs="text")
10
  interface.launch()
 
5
  model = gr.load("models/amjadfqs/finalProject")
6
  return model(image)
7
 
8
+ image_cp = gr.Image(type="pil", label='Brain')
9
  interface = gr.Interface(fn=predict, inputs=image_cp, outputs="text")
10
  interface.launch()