weijiang2024 commited on
Commit
44a6254
·
verified ·
1 Parent(s): cf8b0f6

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +0 -2
app.py CHANGED
@@ -9,8 +9,6 @@ import getpass
9
 
10
  # Get the API key
11
  STABILITY_API_KEY = os.environ.get('STABILITY_API_KEY') # Try to get from environment variable
12
- if not STABILITY_API_KEY:
13
- STABILITY_API_KEY = getpass.getpass('Enter your API Key: ') # Prompt if not found
14
 
15
  def send_generation_request(
16
  host,
 
9
 
10
  # Get the API key
11
  STABILITY_API_KEY = os.environ.get('STABILITY_API_KEY') # Try to get from environment variable
 
 
12
 
13
  def send_generation_request(
14
  host,