Spaces:
Sleeping
Sleeping
baseline theme with two columns
Browse files- user_interface.py +14 -0
user_interface.py
CHANGED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
theme = gr.themes.Soft(
|
| 4 |
+
primary_hue="pink",
|
| 5 |
+
secondary_hue="lime",
|
| 6 |
+
neutral_hue="lime",
|
| 7 |
+
)
|
| 8 |
+
|
| 9 |
+
with gr.Blocks(theme=theme) as demo:
|
| 10 |
+
|
| 11 |
+
with gr.Column(scale=1):
|
| 12 |
+
gr.Dropdown()
|
| 13 |
+
with gr.Column(scale=2):
|
| 14 |
+
|