File size: 1,004 Bytes
6da542c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7a1e572
6da542c
7a1e572
6da542c
3ca12dd
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
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="zenafey/prodia-web") as mj:

    gr.load("models/openskyml/midjourney-mini", title="⛵️ Midjourney-mini", description="Generate images using the Midjourney-mini model!", examples=examples)

mj.launch(show_api=True, server_port, server_name="https://becketts-mid-journey-inference.com")