rocioadlc commited on
Commit
16b7a8d
Β·
verified Β·
1 Parent(s): e166937

Update theme.py

Browse files
Files changed (1) hide show
  1. theme.py +2 -4
theme.py CHANGED
@@ -5,6 +5,7 @@ from typing import Iterable
5
  from gradio.themes.base import Base
6
  from gradio.themes.utils import colors, fonts, sizes
7
 
 
8
  class Theme(Base):
9
  def __init__(
10
  self,
@@ -27,7 +28,6 @@ class Theme(Base):
27
  "Consolas",
28
  "monospace",
29
  ),
30
- body_background_fill: str = "url('front.jpg')"
31
  ):
32
  super().__init__(
33
  primary_hue=primary_hue,
@@ -38,10 +38,8 @@ class Theme(Base):
38
  text_size=text_size,
39
  font=font,
40
  font_mono=font_mono,
41
- body_background_fill=body_background_fill
42
  )
43
  self.name = "theme"
44
-
45
  super().set(
46
  # Colors
47
  slider_color="*neutral_900",
@@ -91,4 +89,4 @@ class Theme(Base):
91
  block_title_text_weight="600",
92
  block_label_text_weight="600",
93
  block_label_text_size="*text_md",
94
- )
 
5
  from gradio.themes.base import Base
6
  from gradio.themes.utils import colors, fonts, sizes
7
 
8
+
9
  class Theme(Base):
10
  def __init__(
11
  self,
 
28
  "Consolas",
29
  "monospace",
30
  ),
 
31
  ):
32
  super().__init__(
33
  primary_hue=primary_hue,
 
38
  text_size=text_size,
39
  font=font,
40
  font_mono=font_mono,
 
41
  )
42
  self.name = "theme"
 
43
  super().set(
44
  # Colors
45
  slider_color="*neutral_900",
 
89
  block_title_text_weight="600",
90
  block_label_text_weight="600",
91
  block_label_text_size="*text_md",
92
+ )