這個程式是一個基於 Streamlit, BeautifulSoup 和 OpenAI GPT-3.5-turbo 模型的新聞或部落格文章摘要工具,靈感來自於 saadkiet 的 "AI-News-Blog-summarizer"。
https://github.com/saadkiet/AI-News-Blog-summarizer/
要使用這個工具,您需要先安裝以下 Python 套件:
pip install streamlit openai beautifulsoup4 requests
-
先將此專案 clone 到你的電腦:
git clone https://github.com/FuturizeRush/AI-News-Blog-summarizer-Chinese.git cd AI-News-Blog-summarizer-Chinese
-
輸入以下指令來執行程式:
streamlit run app.py
請注意,您將需要輸入您的 OpenAI API 金鑰來啟用文章摘要功能。如果您尚未申請,可以至 OpenAI 官網申請。
This program is a news or blog summarization tool based on Streamlit, BeautifulSoup, and OpenAI's GPT-3.5-turbo model, inspired by saadkiet's "AI-News-Blog-summarizer".
https://github.com/saadkiet/AI-News-Blog-summarizer/
To use this tool, you will first need to install the following Python packages:
pip install streamlit openai beautifulsoup4 requests
-
First, clone this project to your computer:
git clone https://github.com/FuturizeRush/AI-News-Blog-summarizer-Chinese.git cd AI-News-Blog-summarizer-Chinese
-
Run the following command to execute the program:
streamlit run app.py
Please note that you will need to enter your OpenAI API key to enable the article summarization function. If you have not yet applied for one, you can do so on the OpenAI official website.