Spaces:
Sleeping
Sleeping
Aditya DN commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def delete_temp_dir(directory, delay=900): # 15 minutes = 900 seconds
|
|
| 15 |
st.set_page_config(layout="wide", page_title="Video Conversion Tool")
|
| 16 |
|
| 17 |
# Supported formats
|
| 18 |
-
video_formats =
|
| 19 |
audio_formats = ['MP3', 'WAV', 'AAC', 'FLAC', 'OGG', 'M4A']
|
| 20 |
gif_formats = ['GIF']
|
| 21 |
image_formats = ['JPEG', 'PNG', 'BMP', 'TIFF']
|
|
|
|
| 15 |
st.set_page_config(layout="wide", page_title="Video Conversion Tool")
|
| 16 |
|
| 17 |
# Supported formats
|
| 18 |
+
video_formats = [data for data in ['3GP', 'ASF', 'AVI', 'FLV', 'M4V', 'MKV', 'MOV', 'MP4', 'MPEG', 'MPG', 'TS', 'WEBM', 'WMV'] if data not in ['3GP', 'DIVX', 'XVID']]
|
| 19 |
audio_formats = ['MP3', 'WAV', 'AAC', 'FLAC', 'OGG', 'M4A']
|
| 20 |
gif_formats = ['GIF']
|
| 21 |
image_formats = ['JPEG', 'PNG', 'BMP', 'TIFF']
|