Update app.py
Browse files
app.py
CHANGED
|
@@ -33,7 +33,6 @@ original:"""
|
|
| 33 |
with st.form(key='my_form'):
|
| 34 |
prompt = st.text_area(label='Enter sentence', value=g)
|
| 35 |
submit_button = st.form_submit_button(label='Submit')
|
| 36 |
-
|
| 37 |
if submit_button:
|
| 38 |
with torch.no_grad():
|
| 39 |
text = tokenizer.encode(prompt)
|
|
|
|
| 33 |
with st.form(key='my_form'):
|
| 34 |
prompt = st.text_area(label='Enter sentence', value=g)
|
| 35 |
submit_button = st.form_submit_button(label='Submit')
|
|
|
|
| 36 |
if submit_button:
|
| 37 |
with torch.no_grad():
|
| 38 |
text = tokenizer.encode(prompt)
|