i have explored and found that we need to modify the code to add images in html
import gradio as gr
with gr.Blocks() as demo:
# add file before your image file path
gr.HTML("<img src='file/image.png' alt='image One'>")
# add allowed_path in launch
demo.launch(allowed_paths=["."])