Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1247,7 +1247,7 @@ def create_jain_interface():
|
|
1247 |
return history, ""
|
1248 |
try:
|
1249 |
response = jain.chat(message) # chat_function → jain.chat으로 변경
|
1250 |
-
|
1251 |
history = []
|
1252 |
|
1253 |
history.append([message, response])
|
|
|
1247 |
return history, ""
|
1248 |
try:
|
1249 |
response = jain.chat(message) # chat_function → jain.chat으로 변경
|
1250 |
+
if history is None:
|
1251 |
history = []
|
1252 |
|
1253 |
history.append([message, response])
|