Skip to content
This repository has been archived by the owner on Feb 5, 2024. It is now read-only.

Example output: No such file or directory: '/tmp/ai-impact.html' #11

Open
snowymo opened this issue May 23, 2023 · 0 comments
Open

Example output: No such file or directory: '/tmp/ai-impact.html' #11

snowymo opened this issue May 23, 2023 · 0 comments

Comments

@snowymo
Copy link

snowymo commented May 23, 2023

D:\Project\gpt-summarizer>python summarize.py https://ourworldindata.org/ai-impact
HTML path: /tmp/ai-impact.html
URL: https://ourworldindata.org/ai-impact
/tmp/ai-impact.html
/tmp/ai-impact
Traceback (most recent call last):
  File "D:\Project\gpt-summarizer\summarize.py", line 385, in <module>
    text = extract_text_from_html(html_path)
  File "D:\Project\gpt-summarizer\summarize.py", line 282, in extract_text_from_html
    with open(html_path, "r") as html_file:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/ai-impact.html'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant