hozen commited on
Commit
4228940
1 Parent(s): 95d0f81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -39,9 +39,9 @@ def generate_response(transcription, api_key):
39
  client = groq.Client(api_key=api_key)
40
 
41
  try:
42
- # Use Llama 3.1 70B powered by Groq for text generation
43
  completion = client.chat.completions.create(
44
- model="llama-3.1-70b-versatile",
45
  messages=[
46
  {"role": "system", "content": "You are a helpful assistant."},
47
  {"role": "user", "content": transcription}
 
39
  client = groq.Client(api_key=api_key)
40
 
41
  try:
42
+ # Use Llama 3 70B powered by Groq for text generation
43
  completion = client.chat.completions.create(
44
+ model="llama3-70b-8192",
45
  messages=[
46
  {"role": "system", "content": "You are a helpful assistant."},
47
  {"role": "user", "content": transcription}