mamkkl commited on
Commit
8cc88b0
·
verified ·
1 Parent(s): a5deebe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def respond(
77
  temperature,
78
  top_p,
79
  ):
80
- ins_f = generate_prompt(instruction,input)
81
  inputs = tokenizer(ins_f, return_tensors="pt")
82
  input_ids = inputs["input_ids"].cuda()
83
  generation_config = GenerationConfig(
 
77
  temperature,
78
  top_p,
79
  ):
80
+ ins_f = generate_prompt(message,None)
81
  inputs = tokenizer(ins_f, return_tensors="pt")
82
  input_ids = inputs["input_ids"].cuda()
83
  generation_config = GenerationConfig(