saherPervaiz commited on
Commit
41c6728
·
verified ·
1 Parent(s): b2dbcaf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -42,7 +42,7 @@ def provide_observed_advice(data):
42
  def get_health_advice_from_groq(query):
43
  try:
44
  # Sending request to GROQ API
45
- chat_completion = groq_client.chat.completions.create(
46
  messages=[{
47
  "role": "user",
48
  "content": query
 
42
  def get_health_advice_from_groq(query):
43
  try:
44
  # Sending request to GROQ API
45
+ chat_completion = groq_api_key.chat.completions.create(
46
  messages=[{
47
  "role": "user",
48
  "content": query