Spaces:
Build error
Build error
Commit
·
12460c2
1
Parent(s):
5456f37
Update app.py
Browse files
app.py
CHANGED
@@ -11,5 +11,5 @@ text = st.text_input("Enter the starting text:", "Replace me by any text you'd l
|
|
11 |
if st.button("Generate"):
|
12 |
encoded_input = tokenizer(text, return_tensors='pt', padding=False, truncation=False)
|
13 |
output = model(**encoded_input)
|
14 |
-
generated_text =
|
15 |
st.write(generated_text)
|
|
|
11 |
if st.button("Generate"):
|
12 |
encoded_input = tokenizer(text, return_tensors='pt', padding=False, truncation=False)
|
13 |
output = model(**encoded_input)
|
14 |
+
generated_text = output
|
15 |
st.write(generated_text)
|