Spaces:
Running
Running
Download theme.py from Playingyoyo/Monomerizer: direct link, hf CLI and curl.
- Browser
- Download file 445 Bytes
-
https://huggingface.co/spaces/Playingyoyo/Monomerizer/resolve/main/theme.py
- Command line
-
hf download hf://spaces/Playingyoyo/Monomerizer/theme.py
-
curl -L -o theme.py https://huggingface.co/spaces/Playingyoyo/Monomerizer/resolve/main/theme.py
445 Bytes
| """Custom Gradio theme for Monomerizer.""" | |
| import gradio as gr | |
| def create_theme(): | |
| return gr.themes.Soft( | |
| primary_hue=gr.themes.colors.blue, | |
| secondary_hue=gr.themes.colors.purple, | |
| neutral_hue=gr.themes.colors.slate, | |
| radius_size=gr.themes.sizes.radius_lg, | |
| font=[gr.themes.GoogleFont("Inter"), "system-ui", "sans-serif"], | |
| font_mono=[gr.themes.GoogleFont("JetBrains Mono"), "monospace"], | |
| ) |