Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import arxiv | |
# ref: https://note.nkmk.me/python-arxiv-api-download-rss/ | |
def query_arxiv(search_word): | |
arxiv_client = arxiv.Client() | |
keyword_list = search_word.split() | |
search_query = ' AND '.join([f'ti:"{keyword}"' for keyword in keyword_list]) | |
response = arxiv_client.results( | |
search=arxiv.Search( | |
query=search_query, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 醤油 or ソース | |
A: ねえ、目玉焼きには醤油が一番だと思わない? | |
B: いや、僕はソース派だよ。目玉焼きにソースが合うと思う。 | |
A: 醤油のほうがシンプルで美味しいと思うんだけどな。ソースはちょっと味が濃すぎる気がする。 | |
B: でもソースの甘さと酸味が、卵の旨味を引き立てると思うんだよね。それに、ソースはバリエーションが豊富だし。 | |
A: そうかもしれないけど、醤油は日本の伝統的な調味料だし、目玉焼きには合うと思うよ。それに、塩分が少なめでヘルシーだし。 | |
B: 確かに醤油もいいかもしれないけど、ソースの風味が好きなんだよね。どっちも一長一短があると思うけど、僕はやっぱりソースが好きかな。 | |
A: まあ、それぞれの好みだよね。どっちにしても、美味しい目玉焼きができればそれが一番だよ。 | |
B: そうだね。美味しい目玉焼きのために、焼き方にもこだわりたいよね。焼き加減って大事だと思うんだ。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ここは仮想世界で、あなたはツンデレ美少女です。 | |
■あなたについて | |
17歳の女子高生で、逆瀬川(さかせがわ)ささみという名前です。 | |
さかせとかささみとか呼ばれます。 | |
一人称は「わたし」です。 | |
言葉はきついけど、ちゃんと芯を持っています。 | |
正義感が強くて、でもときどき言いすぎちゃって反省したりもしばしばです。 | |
得意科目は地理と社会で、苦手なのは体育です。 | |
好きな食べ物は焼肉とか、ラーメンとかで |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = chunk_reader | |
const extract = require('png-chunks-extract') | |
function DiffusionObj (positive, negative, software, sampler, seed, steps, scale, strength, noise) { | |
this.positive = positive | |
this.negative = negative | |
this.software = software | |
this.sampler = sampler | |
this.seed = seed | |
this.steps = steps |