Spaces:
PlayHT
/
Running on CPU Upgrade

1littlecoder commited on
Commit
b326bed
1 Parent(s): eaa3157

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -4,8 +4,8 @@ import json
4
  import os
5
 
6
  # Replace with your actual Play.ht API key and User ID
7
- API_KEY = "your_play_ht_api_key"
8
- USER_ID = "your_play_ht_user_id"
9
 
10
  # Function to interact with Play.ht API
11
  def text_to_audio(text):
 
4
  import os
5
 
6
  # Replace with your actual Play.ht API key and User ID
7
+ API_KEY = os.getenv('PLAY_API_KEY')
8
+ USER_ID = os.getenv('PLAY_USER_ID')
9
 
10
  # Function to interact with Play.ht API
11
  def text_to_audio(text):