UNIST-Eunchan
commited on
Commit
•
be3ea4d
1
Parent(s):
fafffac
Update app.py
Browse files
app.py
CHANGED
@@ -130,10 +130,11 @@ def generate_output(test_samples):
|
|
130 |
|
131 |
|
132 |
chunked_segments = chunking(test_book[0]['book'])
|
|
|
133 |
|
134 |
-
|
135 |
-
for i in range(
|
136 |
-
|
137 |
summaries = generate_output(chunked_segments[i])
|
138 |
st.write(f'A summary of Segment {i}.')
|
139 |
st.success(summaries[-1])
|
|
|
130 |
|
131 |
|
132 |
chunked_segments = chunking(test_book[0]['book'])
|
133 |
+
st.write(f'The number of Segments: {len(chunked_segments)}.')
|
134 |
|
135 |
+
#for i in range(len(chunked_segments)):
|
136 |
+
for i in range(10):
|
137 |
+
|
138 |
summaries = generate_output(chunked_segments[i])
|
139 |
st.write(f'A summary of Segment {i}.')
|
140 |
st.success(summaries[-1])
|