bhogarendernet commited on
Commit
aff6353
·
1 Parent(s): 470f207

fixed link issue

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -232,8 +232,7 @@ with gr.Blocks(css=css) as demo:
232
  # Add a Row for the Static Image
233
  with gr.Row():
234
  with gr.Column():
235
- static_image_with_link = gr.Link(href=static_image_link_url)
236
- static_image_with_link.img(src=static_image_url)
237
 
238
  with gr.Row():
239
  with gr.Column(scale=6):
 
232
  # Add a Row for the Static Image
233
  with gr.Row():
234
  with gr.Column():
235
+ static_image_with_link = gr.HTML(f'<a href="{static_image_link_url}" target="_blank"><img src="{static_image_url}" /></a>')
 
236
 
237
  with gr.Row():
238
  with gr.Column(scale=6):