import gradio as gr examples = [ [ 'The spirit of a tamagotchi wandering in the city of Paris', # 4, # 45, # 7.5, # 1024, ], [ 'A delicious ceviche cheesecake slice', # 4, # 45, # 7, # 1024, ], [ 'A pao de queijo foodcart in front of a japanese castle', # 4, # 45, # 7, # 1024, ], [ 'alone in the amusement park by Edward Hopper', # 4, # 45, # 7, # 1024, ], [ "A large cabin on top of a sunny mountain in the style of Dreamworks, artstation", # 4, # 45, # 7, # 1024, ], ] with gr.Blocks(theme="Base") as mj: gr.HTML(value="

⛵️ Midjourney-mini

") gr.load("models/midjourney-community/midjourney-mini", description="Generate images using the Midjourney-mini model!",examples=examples) mj.launch(show_api=False)