Update app.py
Browse files
app.py
CHANGED
|
@@ -96,6 +96,7 @@ def chat_with_model(prompt, system_prompt, chatbot_display, internal_history,lan
|
|
| 96 |
if lang != None:
|
| 97 |
prompt = translate_text(prompt,"English")
|
| 98 |
print("prompt : "+prompt)
|
|
|
|
| 99 |
# 1. Khởi tạo nếu đây là lần chạy đầu tiên
|
| 100 |
# chatbot_display là [[user_msg, ai_msg], ...]
|
| 101 |
if chatbot_display is None:
|
|
|
|
| 96 |
if lang != None:
|
| 97 |
prompt = translate_text(prompt,"English")
|
| 98 |
print("prompt : "+prompt)
|
| 99 |
+
prompt = prompt +" [Detailed description of the physical actions and expressions.]"
|
| 100 |
# 1. Khởi tạo nếu đây là lần chạy đầu tiên
|
| 101 |
# chatbot_display là [[user_msg, ai_msg], ...]
|
| 102 |
if chatbot_display is None:
|