Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -44,6 +44,9 @@ def _parse_text(text):
|
|
44 |
return text
|
45 |
|
46 |
def predict(_chatbot, task_history, user_input):
|
|
|
|
|
|
|
47 |
if task_history is None or not isinstance(task_history, list):
|
48 |
task_history = []
|
49 |
print("Predict - Start: task_history =", task_history)
|
|
|
44 |
return text
|
45 |
|
46 |
def predict(_chatbot, task_history, user_input):
|
47 |
+
print("Predict - Start: task_history =", task_history)
|
48 |
+
print("Type of user_input:", type(user_input))
|
49 |
+
print("Type of task_history:", type(task_history))
|
50 |
if task_history is None or not isinstance(task_history, list):
|
51 |
task_history = []
|
52 |
print("Predict - Start: task_history =", task_history)
|