mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
aac5102cf3
Co-authored-by: Henry van Megen <hvanmegen@gmail.com>
14 lines
363 B
Python
14 lines
363 B
Python
'''
|
|
This module is provided for backward compatibility with the
|
|
original (hasty) API.
|
|
|
|
Please use ldm.generate instead.
|
|
'''
|
|
|
|
from ldm.generate import Generate
|
|
|
|
class T2I(Generate):
|
|
def __init__(self,**kwargs):
|
|
print(f'>> The ldm.simplet2i module is deprecated. Use ldm.generate instead. It is a drop-in replacement.')
|
|
super().__init__(kwargs)
|