geethareddy commited on
Commit
d5ff7e6
·
verified ·
1 Parent(s): 6b796b7

Create preference.py

Browse files
Files changed (1) hide show
  1. 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")