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