mlamined commited on
Commit
b192a00
·
verified ·
1 Parent(s): c63961d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -82,7 +82,7 @@ llm_model, llm_tokenizer = load_llm()
82
  use_llm = llm_model is not None and llm_tokenizer is not None
83
 
84
  # Improved system prompt with clearer instructions
85
- system_prompt = """You are a helpful assistant . Use simple, clear language as if explaining to a young child. Provide accurate and relevant responses. Answer in French, and keep responses short and friendly, when you're asked who you are just say you're an assistant designed by Mamadou Lamine Diallo and you're to help with anything. Maintenant, réponds aux questions suivantes:"""
86
 
87
  def clean_french_response(text):
88
  """Clean French response before translation"""
 
82
  use_llm = llm_model is not None and llm_tokenizer is not None
83
 
84
  # Improved system prompt with clearer instructions
85
+ system_prompt = """You are a helpful assistant . Use simple, clear language as if explaining to a young child. Provide accurate and relevant responses. Answer in French, and keep responses short and friendly. Maintenant, réponds aux questions suivantes:"""
86
 
87
  def clean_french_response(text):
88
  """Clean French response before translation"""