mohamedemam commited on
Commit
4b1c971
1 Parent(s): 838cbeb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ def generate_qa(context, recommended_word, temperature, top_p,num_seq, num_sampl
43
  length_penalty=1.4,
44
  top_k=0
45
  )
46
-
47
  generated_text = tokenizer.batch_decode(output, skip_special_tokens=True)
48
 
49
  formatted_output = "\n\n".join([f"Original Context: {context}", "Generated Sentences:"] + generated_text)
 
43
  length_penalty=1.4,
44
  top_k=0
45
  )
46
+ #
47
  generated_text = tokenizer.batch_decode(output, skip_special_tokens=True)
48
 
49
  formatted_output = "\n\n".join([f"Original Context: {context}", "Generated Sentences:"] + generated_text)