winglian commited on
Commit
f50de1b
1 Parent(s): 0a472e1

handle empty lines

Browse files
Files changed (1) hide show
  1. setup.py +1 -1
setup.py CHANGED
@@ -5,7 +5,7 @@ with open("./requirements.txt", "r") as requirements_file:
5
  # don't include peft yet until we check the int4
6
  # need to manually install peft for now...
7
  reqs = [r.strip() for r in requirements_file.readlines() if "peft" not in r]
8
- reqs = [r for r in reqs if r[0] != "#"]
9
  for r in reqs:
10
  install_requires.append(r)
11
 
 
5
  # don't include peft yet until we check the int4
6
  # need to manually install peft for now...
7
  reqs = [r.strip() for r in requirements_file.readlines() if "peft" not in r]
8
+ reqs = [r for r in reqs if r and r[0] != "#"]
9
  for r in reqs:
10
  install_requires.append(r)
11