Ammar-khan commited on
Commit
a64b6c9
1 Parent(s): 8c8daca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,8 +6,8 @@ from gtts import gTTS
6
  import tempfile
7
 
8
  # Set up Groq API key
9
- os.environ['GROQ_API_KEY'] = 'GROQ_API-KEY'
10
- groq_client = Groq(api_key=os.environ.get('GROQ_API_KEY'))
11
 
12
  # Load Whisper model
13
  whisper_model = whisper.load_model("base")
 
6
  import tempfile
7
 
8
  # Set up Groq API key
9
+ groq_api_key = os.getenv('GROQ_API_KEY')
10
+ groq_client = Groq(api_key=groq_api_key)
11
 
12
  # Load Whisper model
13
  whisper_model = whisper.load_model("base")