ysharma HF staff commited on
Commit
dcad3c4
1 Parent(s): f67e399

added debug info

Browse files
Files changed (1) hide show
  1. app.py +6 -0
app.py CHANGED
@@ -151,6 +151,12 @@ def retry_last_answer(
151
  ):
152
  print(f"chatbot is - {chatbot}")
153
  print(f"history is - {history}")
 
 
 
 
 
 
154
  if chatbot and history:
155
  # Removing the previous conversation from chat
156
  chatbot.pop(-1)
 
151
  ):
152
  print(f"chatbot is - {chatbot}")
153
  print(f"history is - {history}")
154
+ print(f"user_input is - {user_input}")
155
+ print(f"max_length is - {max_length}")
156
+ print(f"top_p is - {top_p}")
157
+ print(f"temperature is - {temperature}")
158
+ print(f"past_key_values is - {past_key_values}")
159
+
160
  if chatbot and history:
161
  # Removing the previous conversation from chat
162
  chatbot.pop(-1)