Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -26,7 +26,7 @@ def get_text(ppt_file):
|
|
| 26 |
presentation = Presentation(ppt_file)
|
| 27 |
|
| 28 |
if len(presentation.slides) > 5:
|
| 29 |
-
raise Exception("Max slide length is 5. Please follow guideline.")
|
| 30 |
|
| 31 |
try:
|
| 32 |
|
|
|
|
| 26 |
presentation = Presentation(ppt_file)
|
| 27 |
|
| 28 |
if len(presentation.slides) > 5:
|
| 29 |
+
raise Exception("Max slide length is 5. Please follow the guideline.")
|
| 30 |
|
| 31 |
try:
|
| 32 |
|