keivalya commited on
Commit
c6200d7
·
verified ·
1 Parent(s): 3ab3dcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -10,9 +10,12 @@ from groq import Groq
10
 
11
  # Load environment variables from .env file
12
  # load_dotenv()
 
 
 
13
 
14
  def song_history(message):
15
- question = "Tell me the history or a fun fact of the song (in a single line!): " + message
16
  completion = client.chat.completions.create(
17
  model="llama3-8b-8192",
18
  messages=[
 
10
 
11
  # Load environment variables from .env file
12
  # load_dotenv()
13
+ client = Groq(
14
+ api_key=os.getenv("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"),
15
+ )
16
 
17
  def song_history(message):
18
+ # question = "Tell me the history or a fun fact of the song (in a single line!): " + message
19
  completion = client.chat.completions.create(
20
  model="llama3-8b-8192",
21
  messages=[