freddyaboulton HF staff commited on
Commit
f25a499
1 Parent(s): f84c95c

Updating theme

Browse files
Files changed (3) hide show
  1. README.md +10 -2
  2. app.py +22 -0
  3. requirements.txt +1 -0
README.md CHANGED
@@ -1,11 +1,19 @@
1
 
2
  ---
3
  tags: [gradio-theme]
 
 
 
 
 
 
 
 
4
  ---
5
 
6
- # My Solid Theme
7
 
8
- ## Description
9
 
10
  A copy of the solid theme
11
 
 
1
 
2
  ---
3
  tags: [gradio-theme]
4
+ title: My Solid Theme
5
+ colorFrom: orange
6
+ colorTo: purple
7
+ sdk: gradio
8
+ sdk_version: 3.16.2
9
+ app_file: app.py
10
+ pinned: false
11
+ license: apache-2.0
12
  ---
13
 
14
+ # My Solid Theme
15
 
16
+ ## Description
17
 
18
  A copy of the solid theme
19
 
app.py ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Default theme demo
2
+ import gradio as gr
3
+
4
+ with gr.Blocks(theme=freddyaboulton/my-solid-theme) as demo:
5
+ with gr.Tabs():
6
+ with gr.Tab("Simple Inputs"):
7
+ with gr.Row():
8
+ with gr.Column():
9
+ gr.Textbox(interactive=True)
10
+ gr.Radio(choices=["a", "b", "c"], interactive=True)
11
+ gr.Checkbox(interactive=True)
12
+ with gr.Column():
13
+ with gr.Box():
14
+ gr.Number(interactive=True)
15
+ gr.CheckboxGroup(choices=["one", "two", "three"], interactive=True)
16
+ gr.Dropdown(choices=["d", "e", "f"], interactive=True)
17
+ with gr.Column():
18
+ gr.Slider(minimum=0, maximum=10, interactive=True)
19
+
20
+
21
+ if __name__ == "__main__":
22
+ demo.launch()
requirements.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ https://gradio-builds.s3.amazonaws.com/7356a1c5f54ec9c5df17613b467f620b43711d45/gradio-3.16.2-py3-none-any.whl