Chris Addis commited on
Commit
7c12277
·
1 Parent(s): 4bc8fd1

different design

Browse files
Files changed (1) hide show
  1. app.py +2 -20
app.py CHANGED
@@ -163,26 +163,8 @@ custom_css = """
163
 
164
  # Define the Gradio interface with the new design
165
  def create_demo():
166
- # Create a custom theme
167
- theme = gr.themes.Base(
168
- primary_hue="blue",
169
- secondary_hue="teal",
170
- neutral_hue="gray",
171
- font=[gr.themes.GoogleFont("Inter"), "ui-sans-serif", "system-ui", "sans-serif"],
172
- ).set(
173
- button_primary_background_fill="#2196F3",
174
- button_primary_background_fill_hover="#1976D2",
175
- button_primary_text_color="white",
176
- button_secondary_background_fill="#f5f5f5",
177
- button_secondary_background_fill_hover="#e0e0e0",
178
- button_secondary_text_color="#333",
179
- background_fill="#ffffff",
180
- block_background_fill="#fafafa",
181
- block_border_width="1px",
182
- block_border_color="#e0e0e0",
183
- block_radius="8px",
184
- block_title_text_weight="600",
185
- )
186
 
187
  with gr.Blocks(theme=theme, css=custom_css) as demo:
188
  # Header section
 
163
 
164
  # Define the Gradio interface with the new design
165
  def create_demo():
166
+ # Use the Monochrome theme with custom CSS for better compatibility
167
+ theme = gr.themes.Monochrome()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
168
 
169
  with gr.Blocks(theme=theme, css=custom_css) as demo:
170
  # Header section