Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def infer(prompt):
|
|
18 |
# the object returned is a python generator
|
19 |
answers = stability_api.generate(
|
20 |
prompt=f" Beautiful Portait of a {prompt} made out of flowers ๐ ๐บ ๐ธ , artstation winner by Victo Ngai, Kilian Eng, vibrant colors, aesthetic octane render, 8K HD",
|
21 |
-
height =
|
22 |
)
|
23 |
|
24 |
# iterating over the generator produces the api response
|
@@ -49,6 +49,7 @@ with block as demo:
|
|
49 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
50 |
|
51 |
text = gr.Textbox(
|
|
|
52 |
label="Enter your prompt", show_label=False, max_lines=1
|
53 |
).style(
|
54 |
border=(True, False, True, True),
|
|
|
18 |
# the object returned is a python generator
|
19 |
answers = stability_api.generate(
|
20 |
prompt=f" Beautiful Portait of a {prompt} made out of flowers ๐ ๐บ ๐ธ , artstation winner by Victo Ngai, Kilian Eng, vibrant colors, aesthetic octane render, 8K HD",
|
21 |
+
height =640
|
22 |
)
|
23 |
|
24 |
# iterating over the generator produces the api response
|
|
|
49 |
with gr.Row().style(mobile_collapse=False, equal_height=True):
|
50 |
|
51 |
text = gr.Textbox(
|
52 |
+
value = "Closeup cybernetic vector Samurai",
|
53 |
label="Enter your prompt", show_label=False, max_lines=1
|
54 |
).style(
|
55 |
border=(True, False, True, True),
|