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

Update app.py

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