UmerSajid commited on
Commit
85e2f97
·
verified ·
1 Parent(s): 29e7229

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -5,8 +5,9 @@ from gtts import gTTS
5
  from groq import Groq
6
 
7
  # Set up Groq client (replace with your API key)
8
- GROQ_api_key = "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"
9
- client = Groq(api_key= GROQ_api_key)
 
10
 
11
  # Load Whisper model
12
  whisper_model = whisper.load_model("base")
 
5
  from groq import Groq
6
 
7
  # Set up Groq client (replace with your API key)
8
+
9
+ GROQ_api_key = os.getenv("Groq_Api_Key")
10
+
11
 
12
  # Load Whisper model
13
  whisper_model = whisper.load_model("base")