Spaces:
Sleeping
Sleeping
Update app13.py
Browse files
app13.py
CHANGED
|
@@ -44,6 +44,8 @@ async def check_n_load_attach(session: aiohttp.ClientSession, task_id: str, api_
|
|
| 44 |
extension = ".jpg"
|
| 45 |
elif "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" in content_type:
|
| 46 |
extension = ".xlsx"
|
|
|
|
|
|
|
| 47 |
elif "audio/mpeg" in content_type:
|
| 48 |
extension = ".mp3"
|
| 49 |
elif "application/pdf" in content_type:
|
|
|
|
| 44 |
extension = ".jpg"
|
| 45 |
elif "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" in content_type:
|
| 46 |
extension = ".xlsx"
|
| 47 |
+
elif "vnd.ms-excel" in content_type:
|
| 48 |
+
extension = ".xls"
|
| 49 |
elif "audio/mpeg" in content_type:
|
| 50 |
extension = ".mp3"
|
| 51 |
elif "application/pdf" in content_type:
|