import gradio as gr model = gr.load("models/SimianLuo/LCM_Dreamshaper_v7") model.launch() demo.launch(file_directories="/root/cache") #from transformers import pipeline #model_id = "SimianLuo-LCM_Dreamshaper_v7" #pipe = pipeline("text-to-image", model=model_id)