fcakyon commited on
Commit
4c15790
1 Parent(s): ce27ebb

links open to new tab

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -91,9 +91,9 @@ st.markdown(
91
  st.markdown(
92
  """
93
  <p style='text-align: center'>
94
- <a href='https://github.com/obss/sahi'>SAHI Github</a> | <a href='https://github.com/open-mmlab/mmdetection/tree/master/configs/yolox'>YOLOX Github</a> | <a href='https://huggingface.co/spaces/fcakyon/sahi-yolov5'>SAHI+YOLOv5 Demo</a>
95
  <br />
96
- Follow me on <a href='https://twitter.com/fcakyon'>twitter</a>, <a href='https://www.linkedin.com/in/fcakyon/'>linkedin</a> and <a href='https://fcakyon.medium.com/'>medium</a> for more..
97
  </p>
98
  """,
99
  unsafe_allow_html=True,
@@ -226,6 +226,7 @@ if submit:
226
  show_labels=True,
227
  make_responsive=True,
228
  )
 
229
  st.write(image_1_path)
230
  st.write(pathlib.Path(image_1_path).exists())
231
  st.image(Image.open(image_1_path))
91
  st.markdown(
92
  """
93
  <p style='text-align: center'>
94
+ <a href='https://github.com/obss/sahi' target='_blank'>SAHI Github</a> | <a href='https://github.com/open-mmlab/mmdetection/tree/master/configs/yolox' target='_blank'>YOLOX Github</a> | <a href='https://huggingface.co/spaces/fcakyon/sahi-yolov5' target='_blank'>SAHI+YOLOv5 Demo</a>
95
  <br />
96
+ Follow me on <a href='https://twitter.com/fcakyon' target='_blank'>twitter</a>, <a href='https://www.linkedin.com/in/fcakyon/' target='_blank'>linkedin</a> and <a href='https://fcakyon.medium.com/' target='_blank'>medium</a> for more..
97
  </p>
98
  """,
99
  unsafe_allow_html=True,
226
  show_labels=True,
227
  make_responsive=True,
228
  )
229
+ st.magic(static_component)
230
  st.write(image_1_path)
231
  st.write(pathlib.Path(image_1_path).exists())
232
  st.image(Image.open(image_1_path))