Skip to content

Instantly share code, notes, and snippets.

@kohya-ss
kohya-ss / llm_novelist_v1.py
Last active March 31, 2026 09:32
ローカルLLMに小説を書いてもらう
# Apache License 2.0
# 使用法は gist のコメントを見てください
import time
import argparse
import os
import json
import tomli
import traceback
from typing import Any, Dict, List, Optional, Union, Iterator