make app more beautiful
Browse files83 unmodified lines848586878889909187888990919293949596977 unmodified lines10510610710510610810911011111211311411511611783 unmodified lines# βββ Blocks λ μ΄μμ ββββββββββββββββββββββββββββββββββββββββββββββββββwith gr.Blocks(css=custom_css, title="Donut OCR App") as demo: # ν€λ with gr.HTML(elem_classes="header"): gr.HTML(""" <h1>π Donut OCR</h1> <p>Industrial AI Engineering Week 8 Assignment</p> """) gr.HTML( """ <div class="header"> <h1>π Donut OCR</h1> <p>Industrial AI Engineering Week 8 Assignment</p> </div> """ )
# μ
λ ₯/μΆλ ₯ μμ with gr.Row():7 unmodified lines run_btn.click(fn=ocr_donut, inputs=image_input, outputs=result_box)
# νΈν° with gr.HTML(elem_classes="footer"): gr.HTML("<p>Powered by Naver Clova Donut β’ Built with π by You</p>") gr.HTML( """ <div class="footer"> <p>Powered by Naver Clova Donut β’ Built with π by You</p> </div> """ )
# Spaces μ€νdemo.launch(app.py+15-7