Irina-Igmm commited on
Commit
abbdf47
1 Parent(s): c9d2107

Update app

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -26,7 +26,7 @@ if st.button("Generate"):
26
  if user_input:
27
  # Process the input
28
  with st.spinner("Generating..."):
29
- result = pipe(user_input, max_length=50) # Adjust max_length as needed
30
  # Display the output
31
  st.subheader("Informations demandées")
32
  st.write(result[0]["generated_text"])
 
26
  if user_input:
27
  # Process the input
28
  with st.spinner("Generating..."):
29
+ result = pipe(user_input, max_length=500) # Adjust max_length as needed
30
  # Display the output
31
  st.subheader("Informations demandées")
32
  st.write(result[0]["generated_text"])