| import gradio as gr | |
| css=""" | |
| footer {visibility: hidden !important;} | |
| """ | |
| with gr.Blocks(css=css, theme='YTheme/Sketch') as app: | |
| gr.Markdown("# YThemes") | |
| gr.Markdown(""" | |
| Welcome to YThemes, a subdivision of YUFI focused on crafting beautiful and functional themes for Gradio interfaces! | |
| """) | |
| with gr.Row(): | |
| gr.Markdown("## About Me") | |
| gr.Markdown(""" | |
| I am 12 years old, a diva in Russia. I am interested in development and programming. I hope you like the themes and ❤ like ❤ them. | |
| """) | |
| with gr.Row(): | |
| gr.Markdown("## Custom Themes") | |
| gr.Markdown(""" | |
| In addition to our pre-designed themes, we also offer custom theme design services. If you have a specific vision or brand identity you'd like to incorporate into your Gradio interface, our team can create a unique theme tailored to your needs. | |
| """) | |
| with gr.Row(): | |
| gr.Markdown("## How to use themes") | |
| gr.Code(""" | |
| import gradio as gr | |
| with gr.Blocks(theme='YThemes/GMaterial') as demo: # Replace "GMaterial", on my other topic. | |
| # Your Gradio code here | |
| demo.launch() | |
| """) | |
| app.launch() |