Omnibus commited on
Commit
1160d7d
·
1 Parent(s): 33db0f5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -151,7 +151,7 @@ def compress_data(c, history):
151
 
152
 
153
  def summarize(inp,history,file=None):
154
- history = [(inp,"")] if not history else history
155
 
156
  yield "",history
157
  if file !=None:
@@ -175,12 +175,12 @@ def summarize(inp,history,file=None):
175
 
176
  rawp = compress_data(c,out)
177
 
178
- print (rawp)
179
- print (f'out:: {out}')
180
  #history += "observation: the search results are:\n {}\n".format(out)
181
  #task = "complete?"
182
  history.append(("",rawp))
183
- return "", history
184
  #################################
185
 
186
  '''
 
151
 
152
 
153
  def summarize(inp,history,file=None):
154
+ history = [(inp,"Working on it...")] if not history else history
155
 
156
  yield "",history
157
  if file !=None:
 
175
 
176
  rawp = compress_data(c,out)
177
 
178
+ #print (rawp)
179
+ #print (f'out:: {out}')
180
  #history += "observation: the search results are:\n {}\n".format(out)
181
  #task = "complete?"
182
  history.append(("",rawp))
183
+ yield "", history
184
  #################################
185
 
186
  '''