Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -38,7 +38,7 @@ def copy_gatekeeper_text(history):
|
|
38 |
print('gatekeeper hsotry')
|
39 |
print(history)
|
40 |
|
41 |
-
result = 'How I should respond to the gatekeeper? The gatekeeper said '
|
42 |
return result
|
43 |
|
44 |
def is_api_key_valid(api_key):
|
|
|
38 |
print('gatekeeper hsotry')
|
39 |
print(history)
|
40 |
|
41 |
+
result = 'How I should respond to the gatekeeper? The gatekeeper said "' + history[-1][-1] + '"'
|
42 |
return result
|
43 |
|
44 |
def is_api_key_valid(api_key):
|