dantedgp commited on
Commit
8ba8d8a
1 Parent(s): 779f0a5

Adding st.write

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -23,6 +23,8 @@ generate_button = st.button("Generate")
23
 
24
  if generate_button:
25
  sentences = nltk.sent_tokenize(text_input)
 
26
  for sentence in sentences:
27
  output = model(f"ask: {sentence}")[0]['generated_text']
 
28
 
 
23
 
24
  if generate_button:
25
  sentences = nltk.sent_tokenize(text_input)
26
+ print(sentences)
27
  for sentence in sentences:
28
  output = model(f"ask: {sentence}")[0]['generated_text']
29
+ st.write(output)
30