Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -131,12 +131,12 @@ def show_preds_image(image_path,model_selection):
|
|
| 131 |
return img,conf,informations,link_info,google_map
|
| 132 |
|
| 133 |
inputs_image = gr.Image(type="filepath", label="Input Image")
|
| 134 |
-
model_selection = gr.Dropdown(["VGG19","ResNet50","Efficientnet"])
|
| 135 |
|
| 136 |
outputs_image = gr.Image(type="numpy", label="Output Image")
|
| 137 |
-
output_text = gr.Textbox()
|
| 138 |
-
inform = gr.Textbox()
|
| 139 |
-
g_map = gr.HTML()
|
| 140 |
info_html = gr.HTML()
|
| 141 |
|
| 142 |
|
|
|
|
| 131 |
return img,conf,informations,link_info,google_map
|
| 132 |
|
| 133 |
inputs_image = gr.Image(type="filepath", label="Input Image")
|
| 134 |
+
model_selection = gr.Dropdown(["VGG19","ResNet50","Efficientnet"],label="Model selection")
|
| 135 |
|
| 136 |
outputs_image = gr.Image(type="numpy", label="Output Image")
|
| 137 |
+
output_text = gr.Textbox(label="prediction & confidence")
|
| 138 |
+
inform = gr.Textbox(label="Information about the place")
|
| 139 |
+
g_map = gr.HTML(label="Place location")
|
| 140 |
info_html = gr.HTML()
|
| 141 |
|
| 142 |
|