aquibmoin commited on
Commit
9193677
1 Parent(s): 8211a18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ def generate_llama2_response(prompt_input):
51
  string_dialogue += "User: " + dict_message["content"] + "\n\n"
52
  else:
53
  string_dialogue += "Assistant: " + dict_message["content"] + "\n\n"
54
- output = replicate.run('a16z-infra/llama13b-v2-chat:df7690f1994d94e96ad9d568eac121aecf50684a0b0963b25a41cc40061269e5',
55
  input={"prompt": f"{string_dialogue} {prompt_input} Assistant: ",
56
  "temperature":temperature, "top_p":top_p, "max_length":max_length, "repetition_penalty":1})
57
  return output
 
51
  string_dialogue += "User: " + dict_message["content"] + "\n\n"
52
  else:
53
  string_dialogue += "Assistant: " + dict_message["content"] + "\n\n"
54
+ output = replicate.run(llm,
55
  input={"prompt": f"{string_dialogue} {prompt_input} Assistant: ",
56
  "temperature":temperature, "top_p":top_p, "max_length":max_length, "repetition_penalty":1})
57
  return output