yash161101 commited on
Commit
cac71b0
1 Parent(s): 9ab5a1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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(label='Enter Number of words: ', 1)
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():