cyberandy commited on
Commit
04f6ca9
·
verified ·
1 Parent(s): 8d9dd3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -259,7 +259,7 @@ def create_gradio_interface():
259
  return output
260
 
261
  # Create interface with custom theming
262
- custom_theme = gr.Theme.from_hub("gradio/seafoam").set(
263
  primary_hue="indigo",
264
  secondary_hue="blue",
265
  neutral_hue="gray"
@@ -280,8 +280,7 @@ def create_gradio_interface():
280
  ["Our advanced machine learning algorithms optimize your content"],
281
  ["Simple and effective website optimization"]
282
  ],
283
- theme=custom_theme,
284
- css=".gradio-container {background-color: #f8f9ff}"
285
  )
286
  )
287
 
 
259
  return output
260
 
261
  # Create interface with custom theming
262
+ custom_theme = gr.themes.Soft(
263
  primary_hue="indigo",
264
  secondary_hue="blue",
265
  neutral_hue="gray"
 
280
  ["Our advanced machine learning algorithms optimize your content"],
281
  ["Simple and effective website optimization"]
282
  ],
283
+ theme=custom_theme
 
284
  )
285
  )
286