DR-Rakshitha commited on
Commit
aa57920
·
1 Parent(s): 937401a
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -15,6 +15,6 @@ user_input = st.text_input("Enter a phrase:")
15
  if user_input:
16
  # Process the user input using your model when the user submits the form
17
  if st.button("Submit"):
18
- output = model.generate([user_input])[0]
19
  st.write("You entered:", user_input)
20
  st.write("Model output:", output)
 
15
  if user_input:
16
  # Process the user input using your model when the user submits the form
17
  if st.button("Submit"):
18
+ output = model.generate(user_input)
19
  st.write("You entered:", user_input)
20
  st.write("Model output:", output)