Skip to content

Commit

Permalink
feat: added comments to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmerrell committed Feb 12, 2024
1 parent 57474e5 commit d0f1bfa
Show file tree
Hide file tree
Showing 4 changed files with 279 additions and 138 deletions.
15 changes: 15 additions & 0 deletions cmd/project/defaults.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package project

// Returns default model name for the example model type
func getDefaultModelName(modelType string) string {
switch modelType {
case "LLM":
return "google/flan-t5-base"
case "Stable Diffusion":
return "stabilityai/sdxl-turbo"
case "Text to Audio":
return "facebook/musicgen-small"
}

return ""
}
32 changes: 0 additions & 32 deletions cmd/project/example.toml

This file was deleted.

Loading

0 comments on commit d0f1bfa

Please sign in to comment.