fffiloni commited on
Commit
5231682
1 Parent(s): 01127eb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -27,9 +27,11 @@ def pdf_changes(pdf_doc):
27
 
28
  def add_text(history, text):
29
  history = history + [(text, None)]
 
30
  return history, ""
31
 
32
  def bot(history):
 
33
  response = infer(history[-1][0])
34
  history[-1][1] = response
35
  return history
 
27
 
28
  def add_text(history, text):
29
  history = history + [(text, None)]
30
+ print(history)
31
  return history, ""
32
 
33
  def bot(history):
34
+ print(history[-1][0])
35
  response = infer(history[-1][0])
36
  history[-1][1] = response
37
  return history