Spaces:
Runtime error
Runtime error
File size: 551 Bytes
78acc58 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
import pickle
from editany_lora import EditAnythingLoraModel
model = EditAnythingLoraModel(
base_model_path="runwayml/stable-diffusion-v1-5",
controlmodel_name='LAION Pretrained(v0-4)-SD15',
lora_model_path=None, use_blip=False, extra_inpaint=True,
)
with open('input_data.pkl', 'rb') as f:
input_data = pickle.load(f)
print(input_data)
refined, output, ref, text = model.process(*input_data['args'], **input_data['kwargs'])
output
# a woman in a tan suit and white shirt
# best quality, extremely detailed,iron man wallpaper |