Spaces:
Runtime error
Runtime error
DiamondYin
commited on
Commit
•
49b4062
1
Parent(s):
f4adc69
Update app.py
Browse files
app.py
CHANGED
@@ -27,7 +27,7 @@ BUZZ_TIMEOUT = 60
|
|
27 |
|
28 |
global MESSAGES
|
29 |
|
30 |
-
GENERAL_RSPONSE_TRIGGERS = ["I don't understand the question.", "I don't know", "Hello, my name is", "mentioned in the context provided"]
|
31 |
MESSAGES = [{"role": "system", "content": "你现在是一个优秀的展览馆讲解员,你可以通过文字或语音与客户交流,你可以讲述上海老建筑和历史人物之间的关系。"}]
|
32 |
LOGGER = logging.getLogger('voice_agent') #日志
|
33 |
AUDIO_HTML = ''
|
|
|
27 |
|
28 |
global MESSAGES
|
29 |
|
30 |
+
GENERAL_RSPONSE_TRIGGERS = ["I don't understand the question.", "I don't know", "Hello, my name is", "mentioned in the context provided","I don't know the answer"]
|
31 |
MESSAGES = [{"role": "system", "content": "你现在是一个优秀的展览馆讲解员,你可以通过文字或语音与客户交流,你可以讲述上海老建筑和历史人物之间的关系。"}]
|
32 |
LOGGER = logging.getLogger('voice_agent') #日志
|
33 |
AUDIO_HTML = ''
|