File size: 318 Bytes
4c4fc7d 0cbf3f9 4c4fc7d 3e7dc6c e48eeae 4c4fc7d e48eeae 8987010 3e7dc6c 4c4fc7d 3e7dc6c |
1 2 3 4 5 6 7 8 9 10 11 |
import gradio as gr
from PIL import Image
def show_pattern():
return Image.open("IMG.webp") # thay bằng đúng tên file của bạn
with gr.Blocks(css="body { background-color: black; }", title="Chart Patterns") as app:
gr.Image(show_pattern, elem_id="pattern-image", show_label=False)
app.launch() |