Omnibus commited on
Commit
c08d20c
·
verified ·
1 Parent(s): 2e5cb72

Update app.py

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