Update app.py
Browse files
app.py
CHANGED
@@ -77,7 +77,7 @@ def respond(
|
|
77 |
temperature,
|
78 |
top_p,
|
79 |
):
|
80 |
-
ins_f = generate_prompt(
|
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(
|