taratrankennedy commited on
Commit
4b59b5e
·
verified ·
1 Parent(s): 3043012

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +18 -18
app.py CHANGED
@@ -120,26 +120,26 @@ topics = """
120
  def display_image():
121
  return "https://files.slack.com/files-tmb/T06QHKW6JFM-F077K96ABN3-2364e0b7a9/img_1576_720.jpg"
122
 
123
- with gr.Blocks(theme=theme) as demo:
124
- theme = gr.themes.Monochrome(
125
- primary_hue="amber",
126
- secondary_hue="rose",
127
- ).set(
128
- background_fill_primary='*primary_200',
129
- background_fill_primary_dark='*primary_200',
130
- background_fill_secondary='*secondary_300',
131
- background_fill_secondary_dark='*secondary_300',
132
- border_color_accent='*secondary_200',
133
- border_color_accent_dark='*secondary_600',
134
- border_color_accent_subdued='*secondary_200',
135
- border_color_primary='*secondary_300',
136
- block_border_color='*secondary_200',
137
- button_primary_background_fill='*secondary_300',
138
- button_primary_background_fill_dark='*secondary_300'
139
- )
140
 
141
  # Setup the Gradio Blocks interface with custom layout components
142
- with gr.Blocks(theme=theme) as demo:
143
  gr.image(display_image(scale=1, min_width=200))
144
  gr.Markdown(welcome_message) # Display the formatted welcome message
145
  with gr.Row():
 
120
  def display_image():
121
  return "https://files.slack.com/files-tmb/T06QHKW6JFM-F077K96ABN3-2364e0b7a9/img_1576_720.jpg"
122
 
123
+ # with gr.Blocks(theme=theme) as demo:
124
+ # theme = gr.themes.Monochrome(
125
+ # primary_hue="amber",
126
+ # secondary_hue="rose",
127
+ # ).set(
128
+ # background_fill_primary='*primary_200',
129
+ # background_fill_primary_dark='*primary_200',
130
+ # background_fill_secondary='*secondary_300',
131
+ # background_fill_secondary_dark='*secondary_300',
132
+ # border_color_accent='*secondary_200',
133
+ # border_color_accent_dark='*secondary_600',
134
+ # border_color_accent_subdued='*secondary_200',
135
+ # border_color_primary='*secondary_300',
136
+ # block_border_color='*secondary_200',
137
+ # button_primary_background_fill='*secondary_300',
138
+ # button_primary_background_fill_dark='*secondary_300'
139
+ # )
140
 
141
  # Setup the Gradio Blocks interface with custom layout components
142
+ with gr.Blocks(theme='JohnSmith9982/small_and_pretty') as demo:
143
  gr.image(display_image(scale=1, min_width=200))
144
  gr.Markdown(welcome_message) # Display the formatted welcome message
145
  with gr.Row():