traversaal-ai commited on
Commit
7172102
1 Parent(s): cd0054f

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +2 -3
run.py CHANGED
@@ -23,10 +23,9 @@ gen_kwargs = dict(
23
  def generate_text(prompt):
24
  """Generates text using the Hugging Face Inference API."""
25
  chat_prompt = f"""
26
-
27
- You are a chatbot. you are a chatbot. Only respond in Urdu and not in English.
28
  Provide answers with your best knowledge. Don't say you don't know unless you really don't know. Only answer in URDU and not in English
29
-
30
  ###
31
  Instruction:
32
  {prompt}
 
23
  def generate_text(prompt):
24
  """Generates text using the Hugging Face Inference API."""
25
  chat_prompt = f"""
26
+ System:
27
+ You are a chatbot. you are a chatbot. Only respond in Urdu and not in English.
28
  Provide answers with your best knowledge. Don't say you don't know unless you really don't know. Only answer in URDU and not in English
 
29
  ###
30
  Instruction:
31
  {prompt}