Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,11 +4,8 @@ import whisper
|
|
| 4 |
from gtts import gTTS
|
| 5 |
from groq import Groq
|
| 6 |
import numpy as np
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
# Set your Groq API key
|
| 11 |
-
os.environ['GROQ_API_KEY'] = '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'
|
| 12 |
|
| 13 |
# Initialize Whisper and Groq
|
| 14 |
whisper_model = whisper.load_model("base")
|
|
|
|
| 4 |
from gtts import gTTS
|
| 5 |
from groq import Groq
|
| 6 |
import numpy as np
|
| 7 |
+
# Set yur api key
|
| 8 |
+
GROQ_API_KEY = "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"
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
# Initialize Whisper and Groq
|
| 11 |
whisper_model = whisper.load_model("base")
|