Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -83,7 +83,6 @@ def make_poem(author, sentiment, words, text):
|
|
83 |
detok_outputs = [tokenizer.decode(x, skip_special_tokens=True) for x in outputs]
|
84 |
pre_output = detok_outputs[0]
|
85 |
|
86 |
-
# pre_output = pre_output.replace('.', ' ')
|
87 |
poem += '\n' + pre_output
|
88 |
# audio = tts_es(poem)
|
89 |
# return poem, audio
|
|
|
83 |
detok_outputs = [tokenizer.decode(x, skip_special_tokens=True) for x in outputs]
|
84 |
pre_output = detok_outputs[0]
|
85 |
|
|
|
86 |
poem += '\n' + pre_output
|
87 |
# audio = tts_es(poem)
|
88 |
# return poem, audio
|