Omnibus commited on
Commit
80a98b7
·
verified ·
1 Parent(s): 29191b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -163,7 +163,7 @@ def summarize(inp,history,data=None):
163
 
164
  #content = NEWS_REPORTER.format(output_format=output_format,new_data=str(new_data.replace("{","").replace("}","")))
165
  content = NEWS_REPORTER.format(output_format=output_format,new_data=str(new_data))
166
- formatted=format_prompt(content,history)
167
  stream = client.text_generation(content, **generate_kwargs, stream=True, details=True, return_full_text=False)
168
  for response in stream:
169
  resp += response.token.text
 
163
 
164
  #content = NEWS_REPORTER.format(output_format=output_format,new_data=str(new_data.replace("{","").replace("}","")))
165
  content = NEWS_REPORTER.format(output_format=output_format,new_data=str(new_data))
166
+ formatted=format_prompt(content)
167
  stream = client.text_generation(content, **generate_kwargs, stream=True, details=True, return_full_text=False)
168
  for response in stream:
169
  resp += response.token.text