Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ if st.button("Submit"):
|
|
66 |
|
67 |
with st.spinner("Loading the Model into the memory...."):
|
68 |
model=pipen()
|
69 |
-
res = model(chunks, max_length=
|
70 |
text = ' '.join([summ['summary_text'] for summ in res])
|
71 |
|
72 |
st.write("Success")
|
|
|
66 |
|
67 |
with st.spinner("Loading the Model into the memory...."):
|
68 |
model=pipen()
|
69 |
+
res = model(chunks, max_length=50, min_length=30, do_sample=False)
|
70 |
text = ' '.join([summ['summary_text'] for summ in res])
|
71 |
|
72 |
st.write("Success")
|