Spaces:
Sleeping
Sleeping
Create preference.py
Browse files- preference.py +9 -0
preference.py
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
|
| 3 |
+
def preference_interface(preference_section):
|
| 4 |
+
with preference_section:
|
| 5 |
+
gr.Markdown("Welcome to the Preferences Page!")
|
| 6 |
+
gr.Markdown("Customize your settings here.")
|
| 7 |
+
gr.Textbox(label="Preference 1", placeholder="Enter your preference")
|
| 8 |
+
gr.Checkbox(label="Enable Notifications")
|
| 9 |
+
gr.Button("Save Preferences")
|