Spaces:
Build error
Build error
Commit
·
0fb5234
1
Parent(s):
192f173
added line breaks
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ def genQuestion(model_choice, context):
|
|
37 |
final_output = ''
|
38 |
|
39 |
for i in range(4):
|
40 |
-
final_output += [tok.decode(beam, skip_special_tokens=True, clean_up_tokenization_spaces=False) for beam in output][i] + "
|
41 |
|
42 |
return final_output
|
43 |
|
|
|
37 |
final_output = ''
|
38 |
|
39 |
for i in range(4):
|
40 |
+
final_output += [tok.decode(beam, skip_special_tokens=True, clean_up_tokenization_spaces=False) for beam in output][i] + "<br/>"
|
41 |
|
42 |
return final_output
|
43 |
|