Cyanex commited on
Commit
05b7304
1 Parent(s): 1608984

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +20 -1
app.py CHANGED
@@ -1,3 +1,22 @@
1
  import gradio as gr
2
 
3
- gr.load("models/Cyanex/D.r.e.a.m_Mega").launch()
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  import gradio as gr
2
 
3
+ # Load the model
4
+ model = gr.load("models/Cyanex/D.r.e.a.m_Mega")
5
+
6
+ # Examples to be added to the example tab
7
+ examples = [
8
+ ["Kyoto Animation stylized anime mixed with tradition Chinese artworks~ A dragon flying at modern cyberpunk fantasy world. Cinematic Lighting, ethereal light, intricate details, extremely detailed, incredible details, full colored, complex details, insanely detailed and intricate, hypermaximalist, extremely detailed with rich colors. masterpiece, best quality, aerial view, HDR, UHD, unreal engine. plump looking at the camera, smooth thighs, (glittery jewelry) ((acrylic illustration, by artgerm, by kawacy, by John Singer Sargenti) dark Fantasy background, glittery jewelry, Representative, fair skin, beautiful face, Rich in details High quality, gorgeous, glamorous, 8k, super detail, gorgeous light and shadow, detailed decoration, detailed lines"],
9
+ ["a woman is seen in a car while holding up a picture, in the style of nam june paik, dark orange and red, mao hamaguchi, b-movie aesthetics, photo taken with provia"],
10
+ ["an image of a woman kissing a skull, in the style of andreas rocha, japanese-inspired art, gothic references, strong sense of realism, gray and crimson, anime-inspired character designs, black and white portraits --ar 35:64 --stylize 750 --v 6"]
11
+ ]
12
+
13
+ # Define the interface
14
+ interface = gr.Interface(
15
+ fn=model,
16
+ inputs="text",
17
+ outputs="image",
18
+ examples=examples
19
+ )
20
+
21
+ # Launch the interface
22
+ interface.launch()