Rooni commited on
Commit
c5fa08b
·
1 Parent(s): 9d13560

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +32 -0
app.py ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import gradio as gr
2
+
3
+ with gr.Blocks() as app:
4
+ gr.Markdown("# YThemes")
5
+ gr.Markdown("""
6
+ Welcome to YThemes, a subdivision of YUFI focused on crafting beautiful and functional themes for Gradio interfaces!
7
+ """)
8
+
9
+ with gr.Row():
10
+ gr.Markdown("## About Me")
11
+ gr.Markdown("""
12
+ 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.
13
+ """)
14
+
15
+ with gr.Row():
16
+ gr.Markdown("## Custom Themes")
17
+ gr.Markdown("""
18
+ 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.
19
+ """)
20
+
21
+ with gr.Row():
22
+ gr.Markdown("## How to use themes")
23
+ gr.Code("""
24
+ import gradio as gr
25
+
26
+ with gr.Blocks(theme='YThemes/GMaterial') as demo: # Replace "GMaterial", on my other topic.
27
+ # Your Gradio code here
28
+
29
+ demo.launch()
30
+ """)
31
+
32
+ app.launch()