Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def predict_diagnosis(loops):
|
|
| 19 |
return np.argmax(single_data)
|
| 20 |
|
| 21 |
input = gr.Image()
|
| 22 |
-
output = gr.
|
| 23 |
iloops = gr.Interface( fn=predict_diagnosis,
|
| 24 |
inputs=input,
|
| 25 |
outputs=output,
|
|
|
|
| 19 |
return np.argmax(single_data)
|
| 20 |
|
| 21 |
input = gr.Image()
|
| 22 |
+
output = gr.outputs.Textbox(label='Predicted diagnosis')
|
| 23 |
iloops = gr.Interface( fn=predict_diagnosis,
|
| 24 |
inputs=input,
|
| 25 |
outputs=output,
|