Kieran Fraser commited on
Commit
e2c1fac
1 Parent(s): c69730e

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

Files changed (1) hide show
  1. app.py +18 -3
app.py CHANGED
@@ -25,9 +25,24 @@ from art.attacks.poisoning.perturbations import insert_image
25
  device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
26
 
27
  css = """
28
- .larger-gap { gap: 100px !important; }
29
- .symbols { text-align: center !important; margin: auto !important; }
30
- .cust-width { min-width: 250px !important;}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  .eval-bt { background-color: #3b74f4; color: white; }
32
  input[type="number"].svelte-3iwdd6 { padding-top: 20px; padding-bottom: 20px;}
33
  """
 
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
+ .eta-bar.svelte-1occ011.svelte-1occ011 {
42
+ background: #ccccff !important;
43
+ }
44
+ .center-text { text-align: center !important }
45
+
46
  .eval-bt { background-color: #3b74f4; color: white; }
47
  input[type="number"].svelte-3iwdd6 { padding-top: 20px; padding-bottom: 20px;}
48
  """