Spaces:
Running
Running
Commit
·
a5aef4f
1
Parent(s):
76f793b
Update app.py
Browse files
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(
|