Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ def biblifyWithBeams(beam, tokens, attention_mask):
|
|
31 |
generated,
|
32 |
).replace('<s>', '').replace('</s>', '')
|
33 |
|
|
|
|
|
34 |
if len(text_input.strip()) > 0:
|
35 |
print(text_input)
|
36 |
|
|
|
31 |
generated,
|
32 |
).replace('<s>', '').replace('</s>', '')
|
33 |
|
34 |
+
text_input = ""
|
35 |
+
|
36 |
if len(text_input.strip()) > 0:
|
37 |
print(text_input)
|
38 |
|