Spaces:
Runtime error
Runtime error
yash161101
commited on
Commit
•
cac71b0
1
Parent(s):
9ab5a1a
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ model, tokenizer = get_model()
|
|
22 |
c = 5
|
23 |
with st.form(key='my_form'):
|
24 |
prompt = st.text_input('Enter sentence:', '')
|
25 |
-
c = st.number_input(
|
26 |
submit_button = st.form_submit_button(label='Submit')
|
27 |
if submit_button:
|
28 |
with torch.no_grad():
|
|
|
22 |
c = 5
|
23 |
with st.form(key='my_form'):
|
24 |
prompt = st.text_input('Enter sentence:', '')
|
25 |
+
c = st.number_input('Enter Number of words: ', 1)
|
26 |
submit_button = st.form_submit_button(label='Submit')
|
27 |
if submit_button:
|
28 |
with torch.no_grad():
|