Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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.
|
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 |
|