Update app.py
Browse files
app.py
CHANGED
@@ -125,12 +125,11 @@ with gr.Blocks() as demo:
|
|
125 |
|
126 |
output_image = gr.Image(type="pil", label="Output")
|
127 |
|
128 |
-
label = gr.Number
|
129 |
inference_button = gr.Button("Submit")
|
130 |
|
131 |
#inference_button.click(fn=inferenceScore, inputs=[url_input, image_input, min_score, model_name], outputs=output_image)
|
132 |
|
133 |
-
inference_button.click(fn=inferenceScore, inputs=[url_input, image_input, min_score, model_name],
|
134 |
|
135 |
|
136 |
gr.Markdown(footer)
|
|
|
125 |
|
126 |
output_image = gr.Image(type="pil", label="Output")
|
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="number")
|
133 |
|
134 |
|
135 |
gr.Markdown(footer)
|