UmerSajid commited on
Commit
a921529
·
verified ·
1 Parent(s): efc7e86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -4,10 +4,7 @@ import gradio as gr
4
  from gtts import gTTS
5
  from groq import Groq
6
 
7
- # Set up Groq client (replace with your API key)
8
 
9
- #GROQ_api_key = os.getenv("Groq_Api_Key")
10
- #client = Groq(api_key= GROQ_api_key)
11
 
12
 
13
  api_key = os.environ.get("Groq_Api_Key")
@@ -18,8 +15,6 @@ if not api_key:
18
  # Initialize Groq client
19
  client = Groq(api_key=api_key)
20
 
21
- #GROQ_api_key = "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"
22
- #client = Groq(api_key= GROQ_api_key)
23
 
24
  # Load Whisper model
25
  whisper_model = whisper.load_model("base")
 
4
  from gtts import gTTS
5
  from groq import Groq
6
 
 
7
 
 
 
8
 
9
 
10
  api_key = os.environ.get("Groq_Api_Key")
 
15
  # Initialize Groq client
16
  client = Groq(api_key=api_key)
17
 
 
 
18
 
19
  # Load Whisper model
20
  whisper_model = whisper.load_model("base")