Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -15,7 +15,7 @@ CORS(app)
|
|
| 15 |
|
| 16 |
# Configuration
|
| 17 |
app.config['MAX_CONTENT_LENGTH'] = 100 * 1024 * 1024 # 100MB max file size
|
| 18 |
-
ALLOWED_EXTENSIONS = {'wav', 'mp3', 'mp4', 'mpeg', 'mpga', 'm4a', 'webm', 'flac'}
|
| 19 |
|
| 20 |
# Initialize model variable
|
| 21 |
model = None
|
|
|
|
| 15 |
|
| 16 |
# Configuration
|
| 17 |
app.config['MAX_CONTENT_LENGTH'] = 100 * 1024 * 1024 # 100MB max file size
|
| 18 |
+
ALLOWED_EXTENSIONS = {'ogg','webm','wav', 'mp3', 'mp4', 'mpeg', 'mpga', 'm4a', 'webm', 'flac'}
|
| 19 |
|
| 20 |
# Initialize model variable
|
| 21 |
model = None
|