Spaces:
Runtime error
Runtime error
EnigmaOfTheWorld
commited on
Commit
β’
ecf14af
1
Parent(s):
d659810
Updated app.py 356
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ stability_api = client.StabilityInference(
|
|
46 |
# Set up our initial generation parameters.
|
47 |
|
48 |
prompt ="photo of bespectacled woman, long curly blue hair, bright green eyes, freckled complexion, photorealistic, colorful, highly detailed 4k, realistic photo"
|
49 |
-
def transform_ncuda(img,prompt,cfg=
|
50 |
answers2 = stability_api.generate(
|
51 |
prompt=f"{prompt}",
|
52 |
init_image=img, # Assign our previously generated img as our Initial Image for transformation.
|
|
|
46 |
# Set up our initial generation parameters.
|
47 |
|
48 |
prompt ="photo of bespectacled woman, long curly blue hair, bright green eyes, freckled complexion, photorealistic, colorful, highly detailed 4k, realistic photo"
|
49 |
+
def transform_ncuda(img,prompt,cfg=9.0,stps=30,sc=0.8):
|
50 |
answers2 = stability_api.generate(
|
51 |
prompt=f"{prompt}",
|
52 |
init_image=img, # Assign our previously generated img as our Initial Image for transformation.
|