Omnibus commited on
Commit
b002a87
1 Parent(s): 4ebd713

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -210,7 +210,8 @@ def compress_data(c, instruct, history):
210
  def summarize(inp,history,data=None,file=None,url=None):
211
  if inp == "":
212
  inp = "Process this data"
213
- history = [(inp,"Working on it...")] if not history else history
 
214
  yield "",history
215
  if url != "":
216
  val, out = find_all(url)
 
210
  def summarize(inp,history,data=None,file=None,url=None):
211
  if inp == "":
212
  inp = "Process this data"
213
+ history.clear()
214
+ history = [(inp,"Working on it...")]
215
  yield "",history
216
  if url != "":
217
  val, out = find_all(url)