Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,8 @@ stability_api = client.StabilityInference(
|
|
| 17 |
def infer(prompt):
|
| 18 |
# the object returned is a python generator
|
| 19 |
answers = stability_api.generate(
|
| 20 |
-
prompt=prompt
|
|
|
|
| 21 |
)
|
| 22 |
|
| 23 |
# iterating over the generator produces the api response
|
|
@@ -68,4 +69,4 @@ with block as demo:
|
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
-
demo.launch()
|
|
|
|
| 17 |
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 =704
|
| 22 |
)
|
| 23 |
|
| 24 |
# iterating over the generator produces the api response
|
|
|
|
| 69 |
|
| 70 |
|
| 71 |
|
| 72 |
+
demo.launch(debug=True)
|