Spaces:
Sleeping
Sleeping
gorkemgoknar
commited on
Commit
•
3a1d7a2
1
Parent(s):
88607fe
Update app.py
Browse files
app.py
CHANGED
@@ -84,6 +84,7 @@ def get_chat_response(name, input_txt = "Hello , what is your name?",history=[])
|
|
84 |
'''
|
85 |
|
86 |
def greet(character,input_txt):
|
|
|
87 |
history = ["Who are you?","I am " + character]
|
88 |
return get_chat_response(character,history=history,input_txt=input_txt)
|
89 |
|
|
|
84 |
'''
|
85 |
|
86 |
def greet(character,input_txt):
|
87 |
+
##add a bootstrap history (item 1 is speaker, item 2 is character)
|
88 |
history = ["Who are you?","I am " + character]
|
89 |
return get_chat_response(character,history=history,input_txt=input_txt)
|
90 |
|