Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,9 +10,11 @@ from groq import Groq
|
|
| 10 |
model = whisper.load_model("base")
|
| 11 |
|
| 12 |
# Set up Groq API client (ensure GROQ_API_KEY is set in your environment)
|
|
|
|
| 13 |
#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
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 16 |
|
| 17 |
|
| 18 |
# Function to get the LLM response from Groq
|
|
|
|
| 10 |
model = whisper.load_model("base")
|
| 11 |
|
| 12 |
# Set up Groq API client (ensure GROQ_API_KEY is set in your environment)
|
| 13 |
+
|
| 14 |
#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
|
| 15 |
+
client = Groq(api_key=os.getenv("voiceTOvoice"))
|
| 16 |
+
#GROQ_API_KEY = "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"
|
| 17 |
+
#client = Groq(api_key=GROQ_API_KEY)
|
| 18 |
|
| 19 |
|
| 20 |
# Function to get the LLM response from Groq
|