Spaces:
Sleeping
Sleeping
removed a redundant statement
Browse files
app.py
CHANGED
@@ -23,7 +23,6 @@ tokenizer.add_tokens(["<bot>:"])
|
|
23 |
|
24 |
#Inference function
|
25 |
def infer(inp, history):
|
26 |
-
inp = 'What does emotion stand for?'
|
27 |
inp = "<startofstring>"+inp+"<bot>:"
|
28 |
inp_tok = tokenizer(inp, return_tensors="pt")
|
29 |
X = inp_tok["input_ids"].to(device)
|
|
|
23 |
|
24 |
#Inference function
|
25 |
def infer(inp, history):
|
|
|
26 |
inp = "<startofstring>"+inp+"<bot>:"
|
27 |
inp_tok = tokenizer(inp, return_tensors="pt")
|
28 |
X = inp_tok["input_ids"].to(device)
|