dan-vdb commited on
Commit
7dbe64d
·
1 Parent(s): 5e23aa5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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
- st.write(text)
 
 
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)