Spaces:
Sleeping
Sleeping
wasmdashai
commited on
Commit
•
f1aa1e4
1
Parent(s):
8e89145
Update app.py
Browse files
app.py
CHANGED
@@ -183,8 +183,8 @@ def generate_audio(text,speaker_id=None):
|
|
183 |
|
184 |
|
185 |
def get_answer_ai(text,session_ai):
|
186 |
-
if session_ai is None:
|
187 |
-
|
188 |
|
189 |
try:
|
190 |
|
|
|
183 |
|
184 |
|
185 |
def get_answer_ai(text,session_ai):
|
186 |
+
#if session_ai is None:
|
187 |
+
session_ai=create_chat_session()
|
188 |
|
189 |
try:
|
190 |
|