Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -31,7 +31,7 @@ def generate_paragraph(prompt):
|
|
31 |
|
32 |
# Decode the generated output into text
|
33 |
paragraph = tokenizer_2.decode(output[0], skip_special_tokens=True)
|
34 |
-
return paragraph
|
35 |
|
36 |
# Streamlit app
|
37 |
def main():
|
|
|
31 |
|
32 |
# Decode the generated output into text
|
33 |
paragraph = tokenizer_2.decode(output[0], skip_special_tokens=True)
|
34 |
+
return paragraph.capitalize()
|
35 |
|
36 |
# Streamlit app
|
37 |
def main():
|