Spaces:
Sleeping
Sleeping
Jonas Wiesli
commited on
Commit
•
a05bc4d
1
Parent(s):
4d36fa2
print debug info
Browse files
app.py
CHANGED
@@ -43,7 +43,9 @@ with gr.Blocks() as iface:
|
|
43 |
def bot(history):
|
44 |
characterId = 0
|
45 |
j = 0
|
46 |
-
while j < len(
|
|
|
|
|
47 |
if chatbot[j] == history:
|
48 |
characterId = j
|
49 |
j += 1
|
|
|
43 |
def bot(history):
|
44 |
characterId = 0
|
45 |
j = 0
|
46 |
+
while j < len(chatbot):
|
47 |
+
print(chatbot[j])
|
48 |
+
print(history)
|
49 |
if chatbot[j] == history:
|
50 |
characterId = j
|
51 |
j += 1
|