Standardize LLM clients and expose configurable base URLs.
This commit is contained in:
+14
-3
@@ -1,12 +1,21 @@
|
||||
<div align="center">
|
||||
|
||||
<img src="static/image/logo_compressed.png" alt="Weibo Public Opinion Analysis System Logo" width="800">
|
||||
<img src="static/image/logo_compressed.png" alt="Weibo Public Opinion Analysis System Logo" width="700">
|
||||
|
||||
<a href="https://trendshift.io/repositories/12461" target="_blank"><img src="https://trendshift.io/api/badge/repositories/12461" alt="666ghj%2FWeibo_PublicOpinion_AnalysisSystem | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>
|
||||
|
||||
<a href="https://leaflow.net/" target="_blank"><img src="static/image/Leaflow_logo.png" alt="666ghj%2FWeibo_PublicOpinion_AnalysisSystem | Leaflow" style="width: 150px;" width="150"/></a>
|
||||
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem/stargazers)
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem/watchers)
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem/network)
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem/issues)
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem/pulls)
|
||||
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem/blob/main/LICENSE)
|
||||
[](https://github.com/666ghj/Weibo_PublicOpinion_AnalysisSystem)
|
||||
[](https://hub.docker.com/)
|
||||
|
||||
|
||||
[English](./README-EN.md) | [中文文档](./README.md)
|
||||
|
||||
@@ -221,7 +230,7 @@ playwright install chromium
|
||||
|
||||
#### 4.1 Configure API Keys
|
||||
|
||||
Edit the `config.py` file and fill in your API keys (you can also choose your own models and search proxies):
|
||||
Edit the `config.py` file and fill in your API keys (you can also choose your own models and search proxies; please see the config file for details):
|
||||
|
||||
```python
|
||||
# MySQL Database Configuration
|
||||
@@ -283,7 +292,9 @@ conda activate your_conda_name
|
||||
python app.py
|
||||
```
|
||||
|
||||
> Note: Data crawling requires separate operation, see section 5.3 for guidance
|
||||
> Note 1: After a run is terminated, the Streamlit app might not shut down correctly and may still be occupying the port. If this occurs, find the process that is holding the port and kill it.
|
||||
|
||||
> Note 2: Data scraping needs to be performed as a separate operation. Please refer to the instructions in section 5.3.
|
||||
|
||||
Visit http://localhost:5000 to use the complete system
|
||||
|
||||
|
||||
Reference in New Issue
Block a user