Spaces:
Build error
Build error
Update app.py
Browse files
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.
|
| 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()
|