LocalAI / core /p2p /p2p_common.go
AbdulElahGwaith's picture
Upload folder using huggingface_hub
0f07ba7 verified
package p2p
import (
"os"
"strings"
)
var logLevel = strings.ToLower(os.Getenv("LOCALAI_P2P_LOGLEVEL"))
const (
logLevelDebug = "debug"
logLevelInfo = "info"
)
func init() {
if logLevel == "" {
logLevel = logLevelInfo
}
}