commit 5
This commit is contained in:
@@ -19,12 +19,12 @@ for file in "$SOURCE_DIR"/*.md; do
|
||||
filename=$(basename "$file")
|
||||
echo "Analyzing $filename..."
|
||||
|
||||
# gemini-cli を使用してカテゴリを判定
|
||||
category=$(cat "$file" | gemini-cli "Analyze this Strudel code.
|
||||
# gemini を使用してカテゴリを判定
|
||||
category=$( (echo "Analyze this Strudel code.
|
||||
Based on functions like s(), note(), fm(), degrade(), or effects like lpf(),
|
||||
classify this into exactly one of these categories:
|
||||
'Sampling', 'Synthesis', 'Generative', 'Ambient_FX'.
|
||||
Return only the category name as a single word.")
|
||||
Return only the category name as a single word."; echo ""; cat "$file") | gemini)
|
||||
|
||||
# カテゴリが取得できなかった場合のデフォルト
|
||||
if [ -z "$category" ]; then
|
||||
|
||||
Reference in New Issue
Block a user