MQasimJ commited on
Commit
8caa19b
·
verified ·
1 Parent(s): fd1a2ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ from groq import Groq
7
 
8
  # Initialize the Groq client
9
  GROQ_API_KEY = "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"
10
-
11
  # Load the Whisper model
12
  model = whisper.load_model("base") # You can choose other models like "small", "medium", "large"
13
 
 
7
 
8
  # Initialize the Groq client
9
  GROQ_API_KEY = "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"
10
+ client = Groq(api_key=os.environ.get("GROQ_API_KEY"))
11
  # Load the Whisper model
12
  model = whisper.load_model("base") # You can choose other models like "small", "medium", "large"
13