midjourney-mini / app.py
ehristoforu's picture
Create app.py
6da542c
raw
history blame
No virus
968 Bytes
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="<h1><center>⛵️ Midjourney-mini</center></h1>")
gr.load("models/midjourney-community/midjourney-mini", description="Generate images using the Midjourney-mini model!",examples=examples)
mj.launch(show_api=False)