Spaces:
Sleeping
Sleeping
Adding st.write
Browse files
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 |
|