Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1244,7 +1244,7 @@ def create_jain_interface():
|
|
1244 |
def submit_message(message, history):
|
1245 |
"""메시지 전송 처리"""
|
1246 |
if not message.strip(): # 빈 메시지 입력 방지
|
1247 |
-
|
1248 |
try:
|
1249 |
response = jain.chat(message) # chat_function → jain.chat으로 변경
|
1250 |
if history is None:
|
|
|
1244 |
def submit_message(message, history):
|
1245 |
"""메시지 전송 처리"""
|
1246 |
if not message.strip(): # 빈 메시지 입력 방지
|
1247 |
+
return history, ""
|
1248 |
try:
|
1249 |
response = jain.chat(message) # chat_function → jain.chat으로 변경
|
1250 |
if history is None:
|