Spaces:
Runtime error
Runtime error
File size: 968 Bytes
6da542c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
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) |