Spaces:
Sleeping
Sleeping
thepianist9
commited on
Commit
•
f69922c
1
Parent(s):
bad4f96
Update app.py
Browse files
app.py
CHANGED
@@ -68,7 +68,7 @@ def Asr(audio):
|
|
68 |
return question
|
69 |
|
70 |
@calculate_time
|
71 |
-
def LLM_response(question_audio, question, voice = 'zh-CN-XiaoxiaoNeural', rate = 0, volume = 0, pitch = 0):
|
72 |
print(question)
|
73 |
answer = llm.generate(question)
|
74 |
print(answer)
|
|
|
68 |
return question
|
69 |
|
70 |
@calculate_time
|
71 |
+
def LLM_response(question_audio, question="Hello, what is your name?", voice = 'zh-CN-XiaoxiaoNeural', rate = 0, volume = 0, pitch = 0):
|
72 |
print(question)
|
73 |
answer = llm.generate(question)
|
74 |
print(answer)
|