Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Type error in line 151 #34

Open
adithyakashyapv opened this issue Jan 8, 2023 · 0 comments
Open

Type error in line 151 #34

adithyakashyapv opened this issue Jan 8, 2023 · 0 comments

Comments

@adithyakashyapv
Copy link

adithyakashyapv commented Jan 8, 2023

Hi Guys,
I am getting the following error
pointer_summarizer-master/data_util/data.py", line 149, in abstract2sents
while True:
TypeError: argument should be integer or bytes-like object, not 'str'

pointer_summarizer-master/data_util/data.py", line 151, in abstract2sents
start_p = abstract.index(SENTENCE_START, cur)

Any idea on how ti fix the error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant