yangsaisai
7 years ago
| 32 | 32 | # paste your code here |
| 33 | 33 | # path = os.getcwd() # 获取当前工作目录 |
| 34 | 34 | # print(path) |
| 35 | if conf['style'][0] == '藏头诗': | |
| 35 | if conf['style'] == ['藏头诗']: | |
| 36 | 36 | poetry = writer.cangtou(conf['Chinese_word']) |
| 37 | elif conf['style'][0] == '藏字诗': | |
| 37 | elif conf['style'] == ['藏字诗']: | |
| 38 | 38 | poetry = writer.hide_words(conf['Chinese_word']) |
| 39 | 39 | else: |
| 40 | 40 | poetry = writer.rhyme_verse() |
| 32 | 32 | # paste your code here |
| 33 | 33 | # path = os.getcwd() # 获取当前工作目录 |
| 34 | 34 | # print(path) |
| 35 | if conf['style'][0] == '藏头诗': | |
| 35 | if conf['style'] == ['藏头诗']: | |
| 36 | 36 | poetry = writer.cangtou(conf['Chinese_word']) |
| 37 | elif conf['style'][0] == '藏字诗': | |
| 37 | elif conf['style'] == ['藏字诗']: | |
| 38 | 38 | poetry = writer.hide_words(conf['Chinese_word']) |
| 39 | 39 | else: |
| 40 | 40 | poetry = writer.rhyme_verse() |
| 0 | torchvision==0.2.1 | |
| 1 | toolz==0.9.0 | |
| 2 | cloudpickle==0.6.1 | |
| 3 | Cython==0.29 | |
| 4 | pydot==1.2.4 | |
| 5 | dask==0.20.2 | |
| 6 | scikit-image==0.14.1 | |
| 7 | networkx==2.2 | |
| 8 | word2vec==0.10.2 | |
| 9 | xlrd==1.1.0 | |
| 10 | jieba==0.39 | |
| 11 | defusedxml==0.5.0 | |
| 12 | imgaug==0.2.6 | |
| 13 | Shapely==1.6.4.post2 | |
| 14 | nltk==3.3 | |
| 15 | torch==0.4.1 | |
| 16 | PyWavelets==1.0.1 | |
| 17 | imageio==2.4.1 | |
| 18 | python-jsonrpc-server==0.0.1 |