Spaces:
Running
on
Zero
Running
on
Zero
PseudoTerminal X
commited on
Commit
•
fbe4ed2
1
Parent(s):
9c9d224
Update app.py
Browse files
app.py
CHANGED
@@ -56,13 +56,47 @@ def generate(prompt, stage1_guidance_scale, stage2_guidance_scale, num_inference
|
|
56 |
|
57 |
# Example prompts to demonstrate the model's capabilities
|
58 |
example_prompts = [
|
59 |
-
[
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
]
|
65 |
-
|
66 |
# Create a Gradio interface, 1024x1024,1152x960,896x1152
|
67 |
iface = gr.Interface(
|
68 |
fn=generate,
|
|
|
56 |
|
57 |
# Example prompts to demonstrate the model's capabilities
|
58 |
example_prompts = [
|
59 |
+
[
|
60 |
+
"A futuristic cityscape at night under a starry sky",
|
61 |
+
3.5,
|
62 |
+
4.5,
|
63 |
+
25,
|
64 |
+
"1152x960",
|
65 |
+
"blurry, overexposed"
|
66 |
+
],
|
67 |
+
[
|
68 |
+
"A serene landscape with a flowing river and autumn trees",
|
69 |
+
3.0,
|
70 |
+
4.0,
|
71 |
+
20,
|
72 |
+
"1152x960",
|
73 |
+
"crowded, noisy"
|
74 |
+
],
|
75 |
+
[
|
76 |
+
"An abstract painting of joy and energy in bright colors",
|
77 |
+
3.0,
|
78 |
+
4.5,
|
79 |
+
30,
|
80 |
+
"896x1152",
|
81 |
+
"dark, dull"
|
82 |
+
],
|
83 |
+
[
|
84 |
+
"a stunning portrait of a hamster with an eye patch, piloting a miniature cessna on a wooden desk in an office, depth of field, bokeh, sharp, f1.4",
|
85 |
+
3.2,
|
86 |
+
4.6,
|
87 |
+
40,
|
88 |
+
"1024x1024",
|
89 |
+
"this is an ugly photograph that no one liked"
|
90 |
+
],
|
91 |
+
[
|
92 |
+
"Check out my cousin larry in his dirty room, he is such a damn mess",
|
93 |
+
3.2,
|
94 |
+
4.6,
|
95 |
+
40,
|
96 |
+
"1152x960",
|
97 |
+
"the photograph is blurry and unremarkable"
|
98 |
+
]
|
99 |
]
|
|
|
100 |
# Create a Gradio interface, 1024x1024,1152x960,896x1152
|
101 |
iface = gr.Interface(
|
102 |
fn=generate,
|