AmpParth commited on
Commit
e630d8f
·
verified ·
1 Parent(s): 4d37d60

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=150,
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