SohaAyub commited on
Commit
479da54
·
verified ·
1 Parent(s): 38bfc60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -24,7 +24,7 @@ if not groq_api_key:
24
  raise ValueError("GROQ_API_KEY environment variable not set!")
25
 
26
  client = Groq(api_key=groq_api_key)
27
- MODEL_NAME = "mistral-7b-chat" # Use a smaller, deployable Groq model
28
 
29
  # Global storage
30
  sections = {}
@@ -132,7 +132,7 @@ Generate a structured scientific summary:
132
 
133
  Section Title: {section_title}
134
  Section Content:
135
- {content[:2500]}
136
  """
137
 
138
  try:
 
24
  raise ValueError("GROQ_API_KEY environment variable not set!")
25
 
26
  client = Groq(api_key=groq_api_key)
27
+ MODEL_NAME = "llama-3.3-70b-versatile" # Use exactly this model
28
 
29
  # Global storage
30
  sections = {}
 
132
 
133
  Section Title: {section_title}
134
  Section Content:
135
+ {content[:2500]} # truncate to avoid exceeding model context
136
  """
137
 
138
  try: