Spaces:
Runtime error
Runtime error
RamAnanth1
commited on
Commit
•
0063725
1
Parent(s):
5fb1afd
Add examples
Browse files
app.py
CHANGED
@@ -36,6 +36,12 @@ Since Stable Diffusion 2 uses OpenCLIP ViT-H model trained on LAION dataset comp
|
|
36 |
|
37 |
title="Prompt Extender 2"
|
38 |
|
39 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
40 |
demo.queue(max_size=10,concurrency_count=20)
|
41 |
demo.launch(enable_queue=True)
|
|
|
36 |
|
37 |
title="Prompt Extender 2"
|
38 |
|
39 |
+
examples = [
|
40 |
+
["giant dragon flying in the sky"],
|
41 |
+
["a coconut laying on the beach"],
|
42 |
+
["peaceful village landscape"],
|
43 |
+
]
|
44 |
+
|
45 |
+
demo = gr.Interface(fn=infer, inputs=input_prompt, outputs=[sd1_output,sd2_output], description = description, title = title, examples = examples)
|
46 |
demo.queue(max_size=10,concurrency_count=20)
|
47 |
demo.launch(enable_queue=True)
|