Spaces:
Sleeping
Sleeping
Irina-Igmm
commited on
Commit
•
abbdf47
1
Parent(s):
c9d2107
Update app
Browse files
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=
|
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"])
|