YchKhan commited on
Commit
d6e4b53
Β·
verified Β·
1 Parent(s): 4e07b4c

Update app.py

Browse files

remove groq from model name

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -459,7 +459,7 @@ def gpt_answer(api_key, query, model="gpt-3.5-turbo-1106", system_prompt="Use th
459
  {"role": "user", "content": query},
460
 
461
  ],
462
- model=model,
463
  )
464
  return chat_completion.choices[0].message.content
465
 
 
459
  {"role": "user", "content": query},
460
 
461
  ],
462
+ model=modeldy.split("groq:")[1],
463
  )
464
  return chat_completion.choices[0].message.content
465