Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ from stability_sdk import client
|
|
20 |
import stability_sdk.interfaces.gooseai.generation.generation_pb2 as generation
|
21 |
|
22 |
stability_api = client.StabilityInference(
|
23 |
-
key=st.secrets["STABILITY_KEY"] #os.environ("STABILITY_KEY"),
|
24 |
# key=os.environ['STABILITY_KEY'], # API Key reference.
|
25 |
verbose=True, # Print debug messages.
|
26 |
engine="stable-diffusion-v1-5", # Set the engine to use for generation.
|
|
|
20 |
import stability_sdk.interfaces.gooseai.generation.generation_pb2 as generation
|
21 |
|
22 |
stability_api = client.StabilityInference(
|
23 |
+
key=st.secrets["STABILITY_KEY"], #os.environ("STABILITY_KEY"),
|
24 |
# key=os.environ['STABILITY_KEY'], # API Key reference.
|
25 |
verbose=True, # Print debug messages.
|
26 |
engine="stable-diffusion-v1-5", # Set the engine to use for generation.
|