Kieran Fraser commited on
Commit
0e023fd
1 Parent(s): 97afb36

update css

Browse files

Signed-off-by: Kieran Fraser <Kieran.Fraser@ibm.com>

Files changed (1) hide show
  1. app.py +3 -19
app.py CHANGED
@@ -25,24 +25,7 @@ from art.attacks.poisoning.perturbations import insert_image
25
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
26
 
27
  css = """
28
- .custom-text {
29
- --text-md: 20px !important;
30
- --text-sm: 18px !important;
31
- --block-info-text-size: var(--text-sm);
32
- --block-label-text-size: var(--text-sm);
33
- --block-title-text-size: var(--text-md);
34
- --body-text-size: var(--text-md);
35
- --button-small-text-size: var(--text-md);
36
- --checkbox-label-text-size: var(--text-md);
37
- --input-text-size: var(--text-md);
38
- --prose-text-size: var(--text-md);
39
- --section-header-text-size: var(--text-md);
40
- }
41
- .input-image { margin: auto !important }
42
- .plot-padding { padding: 20px; }
43
- .eta-bar.svelte-1occ011.svelte-1occ011 {
44
- background: #ccccff !important;
45
- }
46
  .center-text { text-align: center !important }
47
  .larger-gap { gap: 100px !important; }
48
  .symbols { text-align: center !important; margin: auto !important; }
@@ -196,7 +179,8 @@ def show_params(type):
196
  '''
197
  if type!="Example":
198
  return gr.Column(visible=True)
199
- return gr.Column(visible=False)
 
200
 
201
  # e.g. To use a local alternative theme: carbon_theme = Carbon()
202
  carbon_theme = Carbon()
 
25
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
26
 
27
  css = """
28
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  .center-text { text-align: center !important }
30
  .larger-gap { gap: 100px !important; }
31
  .symbols { text-align: center !important; margin: auto !important; }
 
179
  '''
180
  if type!="Example":
181
  return gr.Column(visible=True)
182
+ return gr.Column(visible=False)
183
+
184
 
185
  # e.g. To use a local alternative theme: carbon_theme = Carbon()
186
  carbon_theme = Carbon()