Spaces:
Runtime error
Runtime error
Prakash N commited on
Commit ·
bea4f83
1
Parent(s): 8d8ae2b
changed summary flow
Browse files
app.py
CHANGED
|
@@ -56,7 +56,7 @@ with col1:
|
|
| 56 |
with col2:
|
| 57 |
col2.header("Step 2:")
|
| 58 |
dummy_text = "<< Add some text in ( Step 1 ) for me to summarize >>"
|
| 59 |
-
if
|
| 60 |
intial_output = dummy_text
|
| 61 |
else:
|
| 62 |
intial_output = summary
|
|
|
|
| 56 |
with col2:
|
| 57 |
col2.header("Step 2:")
|
| 58 |
dummy_text = "<< Add some text in ( Step 1 ) for me to summarize >>"
|
| 59 |
+
if len(summary) < 10:
|
| 60 |
intial_output = dummy_text
|
| 61 |
else:
|
| 62 |
intial_output = summary
|