Roland Ding commited on
Commit
d353e27
·
1 Parent(s): 617260a

1.0.1.2 updated the theme and save button to primary.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
 
3
  with gr.Blocks(
4
  css="footer {visibility: hidden}",
5
- theme='JohnSmith9982/small_and_pretty',
6
  # label="Profile"
7
  ) as ui:
8
  gr.HTML("<h1>User Profile</h1>")
@@ -20,7 +20,7 @@ with gr.Blocks(
20
 
21
  with gr.Row():
22
  info_reset_button = gr.Button("Reset")
23
- info_save_button = gr.Button("Save")
24
 
25
  if __name__ == "__main__":
26
  ui.launch()
 
2
 
3
  with gr.Blocks(
4
  css="footer {visibility: hidden}",
5
+ theme=gr.themes.Soft(primary_hue="sky"),
6
  # label="Profile"
7
  ) as ui:
8
  gr.HTML("<h1>User Profile</h1>")
 
20
 
21
  with gr.Row():
22
  info_reset_button = gr.Button("Reset")
23
+ info_save_button = gr.Button("Save",variant="primary")
24
 
25
  if __name__ == "__main__":
26
  ui.launch()