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