mohamedemam commited on
Commit
a5aef4f
·
1 Parent(s): 76f793b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def generate_qa(context, temperature, top_p,numofseq):
31
  )
32
 
33
  generated_text = tokenizer.batch_decode(output, skip_special_tokens=True)
34
- return generated_text
35
 
36
  # Create the Gradio interface with sliders for temperature and top-p
37
  iface = gr.Interface(
 
31
  )
32
 
33
  generated_text = tokenizer.batch_decode(output, skip_special_tokens=True)
34
+ return r"\n".join(generated_text)
35
 
36
  # Create the Gradio interface with sliders for temperature and top-p
37
  iface = gr.Interface(