NoaiGPT commited on
Commit
ecc7752
1 Parent(s): f0089a1
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -96,7 +96,7 @@ def generate_paraphrases(text, setting, output_format):
96
  }
97
 
98
  for i, sentence in enumerate(sentences):
99
- inputs = paraphraser_tokenizer(f'paraphraser: {sentence}', return_tensors="pt", padding="longest", truncation=True, max_length=max_length).to(device)
100
 
101
  # Generate paraphrases using the specified parameters
102
  outputs = paraphraser_model.generate(
 
96
  }
97
 
98
  for i, sentence in enumerate(sentences):
99
+ inputs = paraphraser_tokenizer(f'{sentence}', return_tensors="pt", padding="longest", truncation=True, max_length=max_length).to(device)
100
 
101
  # Generate paraphrases using the specified parameters
102
  outputs = paraphraser_model.generate(