mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
add logging configuration
This commit is contained in:
@ -1,13 +1,17 @@
|
||||
import os
|
||||
import pytest
|
||||
import sys
|
||||
|
||||
from omegaconf import OmegaConf
|
||||
from pathlib import Path
|
||||
|
||||
os.environ['INVOKEAI_ROOT']='/tmp'
|
||||
sys.argv = [] # to prevent config from trying to parse pytest arguments
|
||||
|
||||
from invokeai.app.services.config import InvokeAIAppConfig, InvokeAISettings
|
||||
from invokeai.app.invocations.generate import TextToImageInvocation
|
||||
|
||||
|
||||
init1 = OmegaConf.create(
|
||||
'''
|
||||
InvokeAI:
|
||||
|
Reference in New Issue
Block a user