Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -127,9 +127,11 @@ with gr.Blocks() as demo:
|
|
| 127 |
|
| 128 |
inference_button = gr.Button("Submit")
|
| 129 |
|
|
|
|
|
|
|
| 130 |
#inference_button.click(fn=inferenceScore, inputs=[url_input, image_input, min_score, model_name], outputs=output_image)
|
| 131 |
|
| 132 |
-
inference_button.click(fn=inferenceScore, inputs=[url_input, image_input, min_score, model_name], outputs=
|
| 133 |
|
| 134 |
|
| 135 |
gr.Markdown(footer)
|
|
|
|
| 127 |
|
| 128 |
inference_button = gr.Button("Submit")
|
| 129 |
|
| 130 |
+
Prediccion = gr.Number()
|
| 131 |
+
|
| 132 |
#inference_button.click(fn=inferenceScore, inputs=[url_input, image_input, min_score, model_name], outputs=output_image)
|
| 133 |
|
| 134 |
+
inference_button.click(fn=inferenceScore, inputs=[url_input, image_input, min_score, model_name], outputs=Prediccion)
|
| 135 |
|
| 136 |
|
| 137 |
gr.Markdown(footer)
|