How to insert image beside text in gradio?

Here is a the part of code of mine:

with gr.Blocks() as app2:
gr.HTML(“img src=“image link” alt=“A beautiful landscape”) #(”<>" left intentionally)

output:

How can i make these images display?

Thanks

If the image file is on your local machine, you’ll need to put /file= before the filepath, which should be relative to (and contained in) the app working directory. For example:

with gr.Blocks() as demo:
  gr.Image("/file=cheetah.jpg")
  gr.Markdown("Some text")

demo.launch()