Skip to content

Commit

Permalink
Update popularity.py
Browse files Browse the repository at this point in the history
  • Loading branch information
qqhsx authored May 25, 2024
1 parent 1c34d25 commit 5466112
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion popularity.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# 从环境变量读取查询词
query = os.getenv('CSV_FILE_NAME ', '退市股票') # 如果环境变量不存在,则使用默认值 '退市股票'
filename = f'{CSV_FILE_NAME }.csv'
filename = f'{CSV_FILE_NAME }'

# 使用变量进行查询和保存结果
res = pywencai.get(question=query, loop=True)
Expand Down

0 comments on commit 5466112

Please sign in to comment.