Spaces:
Runtime error
Runtime error
Working app (at least in local)
Browse files
app.py
CHANGED
@@ -28,11 +28,19 @@ def generate(prompt1, prompt2, prompt3, seed):
|
|
28 |
demo = gr.Interface(
|
29 |
fn=generate,
|
30 |
inputs=[
|
31 |
-
gr.Textbox(lines=2,
|
32 |
-
gr.Textbox(lines=2,
|
33 |
-
gr.Textbox(lines=2,
|
34 |
-
gr.
|
35 |
-
]
|
36 |
-
outputs="image"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
)
|
38 |
-
demo.launch()
|
|
|
28 |
demo = gr.Interface(
|
29 |
fn=generate,
|
30 |
inputs=[
|
31 |
+
gr.Textbox(lines=2, label="Left region prompt"),
|
32 |
+
gr.Textbox(lines=2, label="Center region prompt"),
|
33 |
+
gr.Textbox(lines=2, label="Right region prompt"),
|
34 |
+
gr.Number(value=12345, precision=0),
|
35 |
+
],
|
36 |
+
outputs="image",
|
37 |
+
examples=[
|
38 |
+
[
|
39 |
+
"A charming house in the countryside, by jakub rozalski, sunset lighting, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece",
|
40 |
+
"A dirt road in the countryside crossing pastures, by jakub rozalski, sunset lighting, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece",
|
41 |
+
"An old and rusty giant robot lying on a dirt road, by jakub rozalski, dark sunset lighting, elegant, highly detailed, smooth, sharp focus, artstation, stunning masterpiece",
|
42 |
+
7178915308
|
43 |
+
],
|
44 |
+
],
|
45 |
)
|
46 |
+
demo.launch(server_name="0.0.0.0")
|