Spaces:
Sleeping
Sleeping
Download app.py from QnoM/Theme_test: direct link, hf CLI and curl.
- Browser
- Download file 516 Bytes
-
https://huggingface.co/spaces/QnoM/Theme_test/resolve/main/app.py
- Command line
-
hf download hf://spaces/QnoM/Theme_test/app.py
-
curl -L -o app.py https://huggingface.co/spaces/QnoM/Theme_test/resolve/main/app.py
516 Bytes
| import gradio as gr | |
| theme = gr.themes.Soft( | |
| font=[gr.themes.GoogleFont("Inter"), "Arial", "sans-serif"] | |
| ) | |
| with gr.Blocks(theme=theme) as demo: | |
| gr.Markdown("## Assistant") | |
| gr.Textbox(label="Message") | |
| theme2 = gr.themes.Monochrome( | |
| font=[gr.themes.GoogleFont("Inter"), "Arial", "sans-serif"], | |
| font_mono=[gr.themes.GoogleFont("IBM Plex Mono"), "ui-monospace", "monospace"], | |
| ) | |
| with gr.Blocks(theme=theme2) as demo: | |
| gr.Markdown("## Dashboard") | |
| gr.Textbox(label="Query") | |
| demo.launch() |