kinely commited on
Commit
3f63360
·
verified ·
1 Parent(s): 8888108

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -53,7 +53,7 @@ if user_query:
53
  # Get the relevant content from the dataset based on the user's query
54
  pdf_based_answer = restrict_to_pdf_query(user_query, dataset)
55
 
56
- # Get completion from the Groq model
57
  chat_completion = client.chat.completions.create(
58
  messages=[
59
  {
@@ -61,7 +61,7 @@ if user_query:
61
  "content": pdf_based_answer,
62
  }
63
  ],
64
- model="whisper-large-v3",
65
  )
66
 
67
  # Display the result
 
53
  # Get the relevant content from the dataset based on the user's query
54
  pdf_based_answer = restrict_to_pdf_query(user_query, dataset)
55
 
56
+ # Get completion from the Groq model using the updated model name
57
  chat_completion = client.chat.completions.create(
58
  messages=[
59
  {
 
61
  "content": pdf_based_answer,
62
  }
63
  ],
64
+ model="llama3-groq-70b-8192-tool-use-preview", # Updated model
65
  )
66
 
67
  # Display the result