Spaces:
Sleeping
Sleeping
miaohaiyuan
commited on
Commit
•
439683b
1
Parent(s):
e1d1f6d
extent file size to 50Mb
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ load_dotenv()
|
|
11 |
|
12 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY", None)
|
13 |
|
14 |
-
MAX_FILE_SIZE =
|
15 |
FILE_TOO_LARGE_MESSAGE = "The audio file is too large. If you used a YouTube link, please try a shorter video clip. If you uploaded an audio file, try trimming or compressing the audio to under 25 MB."
|
16 |
|
17 |
audio_file_path = None
|
|
|
11 |
|
12 |
GROQ_API_KEY = os.environ.get("GROQ_API_KEY", None)
|
13 |
|
14 |
+
MAX_FILE_SIZE = 50 * 1024 * 1024 # 25 MB
|
15 |
FILE_TOO_LARGE_MESSAGE = "The audio file is too large. If you used a YouTube link, please try a shorter video clip. If you uploaded an audio file, try trimming or compressing the audio to under 25 MB."
|
16 |
|
17 |
audio_file_path = None
|