Skip to content

Commit

Permalink
Demo
Browse files Browse the repository at this point in the history
  • Loading branch information
jcollopy-tulane committed Apr 26, 2024
1 parent e154bbb commit 6a160b5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions nlp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,15 @@
# such as where data will be downloaded from.
# here is an example.
def write_default_config(path):
w = open(path, 'wt')
w.write('[data]\n')
w.write('url1 = https://raw.githubusercontent.com/tulane-cmps6730/project-reddit/main/data/train.csv\n')
w = open(path, 'wt')
w.write('[data]\n')
w.write('url1 = https://raw.githubusercontent.com/tulane-cmps6730/project-reddit/main/data/train.csv\n')
w.write('file1 = %s%s%s\n' % (nlp_path, os.path.sep, 'train.csv'))
w.write('url2 = https://raw.githubusercontent.com/tulane-cmps6730/project-reddit/main/data/test.csv\n')
w.write('file2 = %s%s%s\n' % (nlp_path, os.path.sep, 'test.csv'))
w.write('url3 = https://raw.githubusercontent.com/tulane-cmps6730/project-reddit/main/data/test.csv.csv\n')
w.write('url3 = https://raw.githubusercontent.com/tulane-cmps6730/project-reddit/main/data/validation.csv\n')
w.write('file3 = %s%s%s\n' % (nlp_path, os.path.sep, 'validation.csv'))
w.close()
w.close()

# Find NLP_HOME path
if 'NLP_HOME' in os.environ:
Expand Down

0 comments on commit 6a160b5

Please sign in to comment.