Spaces:
Sleeping
Sleeping
Commit ·
6abacd1
1
Parent(s): c86724b
Update app.py
Browse files
app.py
CHANGED
|
@@ -71,7 +71,7 @@ def process(input_path, embed_html_all):
|
|
| 71 |
output_html = embed_html1 + id_spotify + embed_html2
|
| 72 |
|
| 73 |
return output_text, output_html, embed_html_all
|
| 74 |
-
except IndexError:
|
| 75 |
return "Not found. Please try again."
|
| 76 |
time.sleep(1)
|
| 77 |
|
|
|
|
| 71 |
output_html = embed_html1 + id_spotify + embed_html2
|
| 72 |
|
| 73 |
return output_text, output_html, embed_html_all
|
| 74 |
+
except (IndexError, TypeError):
|
| 75 |
return "Not found. Please try again."
|
| 76 |
time.sleep(1)
|
| 77 |
|