CobaltZvc commited on
Commit
28e89ec
1 Parent(s): 4cf34d9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -20,8 +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.
27
  # Available engines: stable-diffusion-v1 stable-diffusion-v1-5 stable-diffusion-512-v2-0 stable-diffusion-768-v2-0
 
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"), # key=os.environ['STABILITY_KEY'], # API Key reference.
 
24
  verbose=True, # Print debug messages.
25
  engine="stable-diffusion-v1-5", # Set the engine to use for generation.
26
  # Available engines: stable-diffusion-v1 stable-diffusion-v1-5 stable-diffusion-512-v2-0 stable-diffusion-768-v2-0