Heisenberg08 commited on
Commit
91cceaf
1 Parent(s): 9e750f1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -27,7 +27,9 @@ def predict_query(input_sentence,max_len=40,temp=0.7):
27
  out=tokenizer.decode(out, skip_special_tokens=True)
28
  idx=out.find("<|sep|>")+7
29
  out=out[idx:]
30
- print(f"Sugestion{i} :{out}")
 
 
31
  pred.append(out)
32
  return pred
33
  # option = st.selectbox(
 
27
  out=tokenizer.decode(out, skip_special_tokens=True)
28
  idx=out.find("<|sep|>")+7
29
  out=out[idx:]
30
+ # print(f"Sugestion{i} :{out}")
31
+ print("Sugestion: ",out)
32
+
33
  pred.append(out)
34
  return pred
35
  # option = st.selectbox(