alishafique commited on
Commit
8f689f0
·
verified ·
1 Parent(s): 6936b25

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ llama = Llama(
24
  )
25
 
26
 
27
- # Function to generate responses
28
  # def generate_response(message, history, system_prompt, temperature, max_new_tokens, top_k, repetition_penalty, top_p):
29
  # # chat_prompt = f"You are an Urdu Chatbot. Write an appropriate response for the given instruction: {message} Response:"
30
  # chat_prompt = f"{system_prompt}\n ### Instruction: {message}\n ### Response:"
 
24
  )
25
 
26
 
27
+ ## Function to generate responses
28
  # def generate_response(message, history, system_prompt, temperature, max_new_tokens, top_k, repetition_penalty, top_p):
29
  # # chat_prompt = f"You are an Urdu Chatbot. Write an appropriate response for the given instruction: {message} Response:"
30
  # chat_prompt = f"{system_prompt}\n ### Instruction: {message}\n ### Response:"