garvit2205 commited on
Commit
ecd9659
·
verified ·
1 Parent(s): 85bcc40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -116,7 +116,7 @@ def create_prompt(user_query,table_metadata):
116
 
117
 
118
  def generate_output(system_prompt,user_prompt):
119
- client = Groq(api_key=userdata.get('groq_api_2'),)
120
  chat_completion = client.chat.completions.create(messages=[
121
  {"role": "system", "content": system_prompt},
122
  {"role": "user","content": user_prompt,}],model="llama3-70b-8192",)
 
116
 
117
 
118
  def generate_output(system_prompt,user_prompt):
119
+ client = Groq(api_key=api,)
120
  chat_completion = client.chat.completions.create(messages=[
121
  {"role": "system", "content": system_prompt},
122
  {"role": "user","content": user_prompt,}],model="llama3-70b-8192",)