Spaces:
Sleeping
Sleeping
Update app.py
Browse files31 unmodified lines3233343536373831 unmodified linesReq1 = request.Req1Req2 = request.Req2question = 'Do the following sentences contradict each other, answer with just yes or no: 1.{Req1} 2.{Req2}'inputs = tokenizer([question], return_tensors="pt").to(model.device)# Generate response31 unmodified lines3233343536373831 unmodified linesReq1 = request.Req1Req2 = request.Req2question = f"Do the following sentences contradict each other, answer with just yes or no: 1.{Req1} 2.{Req2}"inputs = tokenizer([question], return_tensors="pt").to(model.device)# Generate response
app.py+1-1