AbdullahAj2000 commited on
Commit
be53d8d
·
verified ·
1 Parent(s): eba4a36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, link_info)
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
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")