Jensen-holm commited on
Commit
de85694
1 Parent(s): e11b37a

fixing bug that happened with a type that I made, I think huggingface

Browse files
Files changed (1) hide show
  1. app.py +2 -5
app.py CHANGED
@@ -13,9 +13,6 @@ from vis import ( # classification visualization funcitons
13
  )
14
 
15
 
16
- type number = float | int
17
-
18
-
19
  def _preprocess_digits(
20
  seed: int,
21
  ) -> tuple[np.ndarray, ...]:
@@ -42,8 +39,8 @@ def classification(
42
  loss_fn_str: str,
43
  epochs: int,
44
  hidden_size: int,
45
- batch_size: number,
46
- learning_rate: number,
47
  ) -> tuple[gr.Plot, gr.Plot, gr.Label]:
48
  assert hidden_layer_activation_fn in nn.ACTIVATIONS
49
  assert output_layer_activation_fn in nn.ACTIVATIONS
 
13
  )
14
 
15
 
 
 
 
16
  def _preprocess_digits(
17
  seed: int,
18
  ) -> tuple[np.ndarray, ...]:
 
39
  loss_fn_str: str,
40
  epochs: int,
41
  hidden_size: int,
42
+ batch_size: float,
43
+ learning_rate: float,
44
  ) -> tuple[gr.Plot, gr.Plot, gr.Label]:
45
  assert hidden_layer_activation_fn in nn.ACTIVATIONS
46
  assert output_layer_activation_fn in nn.ACTIVATIONS