Update app.py
Browse files
app.py
CHANGED
@@ -39,4 +39,5 @@ with st.form("my_form"):
|
|
39 |
if submitted:
|
40 |
text = pipe(text, num_return_sequences=1, max_length=200, repetition_penalty=2.0)[0]["generated_text"]
|
41 |
text = re.sub("( [A-Z])", r"\n\1", text)
|
42 |
-
|
|
|
|
39 |
if submitted:
|
40 |
text = pipe(text, num_return_sequences=1, max_length=200, repetition_penalty=2.0)[0]["generated_text"]
|
41 |
text = re.sub("( [A-Z])", r"\n\1", text)
|
42 |
+
for t in text:
|
43 |
+
st.write(t)
|