jaimin commited on
Commit
59ec708
·
1 Parent(s): f17e44d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ T5_model = export_and_get_onnx_model('jaimin/T5-Large')
22
 
23
 
24
 
25
- def get_paraphrases(text, n_predictions=3, top_k=50, max_length=256, device="cpu"):
26
  para = []
27
  r = requests.post(
28
  url="https://hf.space/embed/jaimin/CWI/+/api/predict",
 
22
 
23
 
24
 
25
+ def get_paraphrases(text, n_predictions=1, top_k=50, max_length=256, device="cpu"):
26
  para = []
27
  r = requests.post(
28
  url="https://hf.space/embed/jaimin/CWI/+/api/predict",