Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -109,7 +109,7 @@ def summarize_text(text: str):
|
|
| 109 |
{"role": "user", "content": f"The data is a pre-recorded conversation between a call center agent and a customer. Identify the following: \n\n1. Keywords/Metrics about the conversation \n2. A summary of the conversation including details. \n\nOutput format: \nKeywords/Metrics: [Extracted Keywords]\nSummary: [Generated Summary]\n\nData: {text}"}
|
| 110 |
],
|
| 111 |
temperature=0.7,
|
| 112 |
-
max_tokens=
|
| 113 |
top_p=1.0,
|
| 114 |
frequency_penalty=0.0,
|
| 115 |
presence_penalty=0.0
|
|
|
|
| 109 |
{"role": "user", "content": f"The data is a pre-recorded conversation between a call center agent and a customer. Identify the following: \n\n1. Keywords/Metrics about the conversation \n2. A summary of the conversation including details. \n\nOutput format: \nKeywords/Metrics: [Extracted Keywords]\nSummary: [Generated Summary]\n\nData: {text}"}
|
| 110 |
],
|
| 111 |
temperature=0.7,
|
| 112 |
+
max_tokens=100,
|
| 113 |
top_p=1.0,
|
| 114 |
frequency_penalty=0.0,
|
| 115 |
presence_penalty=0.0
|