mimbres commited on
Commit
6cf48a2
·
1 Parent(s): a03c9b4
Files changed (1) hide show
  1. model_helper.py +5 -1
model_helper.py CHANGED
@@ -1,5 +1,9 @@
1
  # @title Model helper
2
- %cd /content/amt/src
 
 
 
 
3
  from collections import Counter
4
  import argparse
5
  import torch
 
1
  # @title Model helper
2
+ import sys
3
+ import os
4
+ current_directory = os.path.dirname(os.path.abspath(__file__)
5
+ sys.path.append(os.path.join(current_directory, 'src'))
6
+
7
  from collections import Counter
8
  import argparse
9
  import torch