Theob commited on
Commit
4702f0f
·
verified ·
1 Parent(s): 89b4b0c

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +2 -2
handler.py CHANGED
@@ -10,7 +10,7 @@ from pathlib import Path
10
  torch.backends.cuda.matmul.allow_tf32 = True # allow tf32 on matmul
11
  torch.backends.cudnn.allow_tf32 = True # allow tf32 on cudnn
12
 
13
- class ApogeeHandler:
14
  """
15
  Handler class.
16
  """
@@ -124,7 +124,7 @@ class ApogeeHandler:
124
 
125
  if __name__ == "__main__":
126
  import pandas as pd
127
- handler = ApogeeHandler()
128
  test_path = Path(__file__).parents[2] / "tests" / "assets" / "BTCUSDT-1m-2019-03.csv"
129
  with open(test_path, "r") as f:
130
  data = pd.read_csv(f)
 
10
  torch.backends.cuda.matmul.allow_tf32 = True # allow tf32 on matmul
11
  torch.backends.cudnn.allow_tf32 = True # allow tf32 on cudnn
12
 
13
+ class EndpointHandler:
14
  """
15
  Handler class.
16
  """
 
124
 
125
  if __name__ == "__main__":
126
  import pandas as pd
127
+ handler = EndpointHandler()
128
  test_path = Path(__file__).parents[2] / "tests" / "assets" / "BTCUSDT-1m-2019-03.csv"
129
  with open(test_path, "r") as f:
130
  data = pd.read_csv(f)