Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -148,12 +148,12 @@ def show_preds_image(image_path,model_selection):
|
|
| 148 |
pdf.ln(10)
|
| 149 |
pdf.multi_cell(0, 10, informations)
|
| 150 |
pdf.ln(10)
|
| 151 |
-
pdf.multi_cell(0, 10,
|
| 152 |
pdf_buffer = BytesIO()
|
| 153 |
pdf.output(pdf_buffer)
|
| 154 |
pdf_buffer.seek(0)
|
| 155 |
|
| 156 |
-
return img,conf,informations,link_info,google_map,
|
| 157 |
|
| 158 |
inputs_image = gr.Image(type="filepath", label="Input Image")
|
| 159 |
model_selection = gr.Dropdown(["VGG19","InceptionV3","ResNet50","Efficientnet"],label="Model selection")
|
|
|
|
| 148 |
pdf.ln(10)
|
| 149 |
pdf.multi_cell(0, 10, informations)
|
| 150 |
pdf.ln(10)
|
| 151 |
+
pdf.multi_cell(0, 10, links)
|
| 152 |
pdf_buffer = BytesIO()
|
| 153 |
pdf.output(pdf_buffer)
|
| 154 |
pdf_buffer.seek(0)
|
| 155 |
|
| 156 |
+
return img,conf,informations,link_info,google_map,pdf_buffer
|
| 157 |
|
| 158 |
inputs_image = gr.Image(type="filepath", label="Input Image")
|
| 159 |
model_selection = gr.Dropdown(["VGG19","InceptionV3","ResNet50","Efficientnet"],label="Model selection")
|