Intern-4 commited on
Commit
a73c754
·
1 Parent(s): 2d3faee

adding bewell logo

Browse files
Files changed (1) hide show
  1. gradio_with_map.py +6 -1
gradio_with_map.py CHANGED
@@ -205,6 +205,11 @@ def predict_image(img, conf_threshold, iou_threshold):
205
 
206
  return im, f'<iframe src="{data_url}" width="100%" height="600" style="border:none;"></iframe>'
207
 
 
 
 
 
 
208
  # Gradio Interface
209
  iface = gr.Interface(
210
  fn=predict_image,
@@ -218,7 +223,7 @@ iface = gr.Interface(
218
  gr.HTML(label="Map"),
219
  ],
220
  title="Custom trained Yolov10 Model on Rescuenet Dataset",
221
- description="Upload images for inference and view detected building locations on map.",
222
  )
223
 
224
  if __name__ == "__main__":
 
205
 
206
  return im, f'<iframe src="{data_url}" width="100%" height="600" style="border:none;"></iframe>'
207
 
208
+ description_with_logo = """
209
+ <img src="https://www.bewelltech.com.tr/_app/immutable/assets/bewell_logo.fda8f209.png" alt="Logo" style="width: 150px; margin-bottom: 10px;">
210
+ <p>Upload images for inference and view detected building locations on the map.</p>
211
+ """
212
+
213
  # Gradio Interface
214
  iface = gr.Interface(
215
  fn=predict_image,
 
223
  gr.HTML(label="Map"),
224
  ],
225
  title="Custom trained Yolov10 Model on Rescuenet Dataset",
226
+ description=description_with_logo,
227
  )
228
 
229
  if __name__ == "__main__":