Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|