Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -154,9 +154,23 @@ theme = gr.themes.Base().set(
|
|
154 |
button_primary_background_fill='#2a2a2a', # Primary button background color
|
155 |
button_primary_background_fill_dark='#2a2a2a' # Dark primary button background color
|
156 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
|
158 |
# Setup the Gradio Blocks interface with custom layout components
|
159 |
-
with gr.Blocks(theme=theme) as demo:
|
160 |
gr.Image(display_image(), show_label = False, show_share_button = False, show_download_button = False)
|
161 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
162 |
with gr.Row():
|
|
|
154 |
button_primary_background_fill='#2a2a2a', # Primary button background color
|
155 |
button_primary_background_fill_dark='#2a2a2a' # Dark primary button background color
|
156 |
)
|
157 |
+
|
158 |
+
custom_css = """
|
159 |
+
<style>
|
160 |
+
body {
|
161 |
+
font-family: 'Arial', sans-serif;
|
162 |
+
}
|
163 |
+
.gr-text-input, .gr-textbox, .gr-markdown, .gr-html {
|
164 |
+
font-family: 'Arial', sans-serif;
|
165 |
+
}
|
166 |
+
.gr-button {
|
167 |
+
font-family: 'Arial', sans-serif;
|
168 |
+
}
|
169 |
+
</style>
|
170 |
+
"""
|
171 |
|
172 |
# Setup the Gradio Blocks interface with custom layout components
|
173 |
+
with gr.Blocks(theme=theme, css=custom_css) as demo:
|
174 |
gr.Image(display_image(), show_label = False, show_share_button = False, show_download_button = False)
|
175 |
gr.Markdown(welcome_message) # Display the formatted welcome message
|
176 |
with gr.Row():
|