Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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(
|