Update app.py
Browse files
app.py
CHANGED
@@ -37,6 +37,6 @@ with gr.Blocks(title="Chest X-Ray Disease Classification", css="") as demo:
|
|
37 |
label = gr.outputs.Label(num_top_classes=4)
|
38 |
|
39 |
clear_btn.click(k, inputs=[], outputs=image)
|
40 |
-
submit_btn.click(predict_input_image, inputs=image, outputs=label)
|
41 |
|
42 |
demo.launch()
|
|
|
37 |
label = gr.outputs.Label(num_top_classes=4)
|
38 |
|
39 |
clear_btn.click(k, inputs=[], outputs=image)
|
40 |
+
submit_btn.click(predict_input_image, inputs=image, outputs=label, api_name="prediction_place")
|
41 |
|
42 |
demo.launch()
|