Commit
•
f4d28fd
1
Parent(s):
921c123
Updating theme to moar custom
Browse files
app.py
CHANGED
@@ -15,8 +15,12 @@ def log_file_to_html_string():
|
|
15 |
|
16 |
return html_content
|
17 |
|
|
|
|
|
|
|
|
|
18 |
|
19 |
-
with gr.Blocks(theme=
|
20 |
name = gr.Markdown("# Reddit Scraper")
|
21 |
output = gr.HTML(log_file_to_html_string, every=1)
|
22 |
|
|
|
15 |
|
16 |
return html_content
|
17 |
|
18 |
+
theme = gr.themes.Default().set(
|
19 |
+
body_background_fill="repeating-linear-gradient(45deg, *primary_800, *primary_800 10px, *primary_900 10px, *primary_900 20px)",
|
20 |
+
body_background_fill_dark="repeating-linear-gradient(45deg, *primary_800, *primary_800 10px, *primary_900 10px, *primary_900 20px)",
|
21 |
+
)
|
22 |
|
23 |
+
with gr.Blocks(theme=theme) as demo:
|
24 |
name = gr.Markdown("# Reddit Scraper")
|
25 |
output = gr.HTML(log_file_to_html_string, every=1)
|
26 |
|