besarismaili commited on
Commit
dc1261a
·
1 Parent(s): 75c5e2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ from huggingface_hub import secrets
6
 
7
  # @markdown To get your API key visit https://dreamstudio.ai/account
8
  STABILITY_HOST = "grpc.stability.ai:443" #@param {type:"string"}
9
- STABILITY_KEY = secrets.get("STABILITY_KEY")
10
 
11
  # Connect to Stability API
12
  context = Context(STABILITY_HOST, STABILITY_KEY)
 
6
 
7
  # @markdown To get your API key visit https://dreamstudio.ai/account
8
  STABILITY_HOST = "grpc.stability.ai:443" #@param {type:"string"}
9
+ STABILITY_KEY = os.getenv("STABILITY_KEY")
10
 
11
  # Connect to Stability API
12
  context = Context(STABILITY_HOST, STABILITY_KEY)