-
首先在百度云中找到自然语言处理服务
-
点击创建应用
-
填写相关信息,并创建应用
-
创建好之后就能获取到
API key
和Secret Key
了 -
将上面两个key填到 poem.py 的
get_token_key()
-
调用
get_token_key
获取 token key -
将 token key 字符串填到 couplet.py 中
-
执行 couplets.py
-
浏览器访问 127.0.0.1:5000
-
Notifications
You must be signed in to change notification settings - Fork 1
busyboxs/couplet-and-poem
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published