ahm14 commited on
Commit
a9dcf3d
·
verified ·
1 Parent(s): 5508018

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -231,7 +231,7 @@ def generate_abstract(text):
231
  ]
232
  )
233
  # Format the prompt with the actual document text
234
- formatted_prompt = template.format(document=document_text)
235
 
236
  # Get the response from the Groq API using the designated model.
237
  response = groq_client.get_completion(
 
231
  ]
232
  )
233
  # Format the prompt with the actual document text
234
+ formatted_prompt = template.format(document=text)
235
 
236
  # Get the response from the Groq API using the designated model.
237
  response = groq_client.get_completion(