Update app.py
Browse files
app.py
CHANGED
@@ -38,6 +38,5 @@ with st.form("my_form"):
|
|
38 |
|
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 |
-
|
43 |
-
st.write(t)
|
|
|
38 |
|
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)
|
|