File size: 261 Bytes
b489aea
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
import gradio as gr
path = "T://Projects//prj-nict-ai-content-detection//example_image_input.jpg"
html_code = input_image = f"""<img src="file://{path}" width="200" height="150">"""

with gr.Blocks() as demo:
    gr.HTML(html_code)
    
demo.launch(share=False)