Spaces:
Paused
Paused
liuyang commited on
Commit ·
c854aa9
1
Parent(s): 7b72138
Add chunk_target_ms configuration to S3 upload settings in app.py for improved audio processing control.
Browse files
app.py
CHANGED
|
@@ -285,7 +285,8 @@ with gr.Blocks(title="Audio Editor", theme=gr.themes.Soft()) as demo:
|
|
| 285 |
"s3_bucket": os.environ.get("S3_BUCKET"),
|
| 286 |
"s3_region": "auto",
|
| 287 |
"s3_prefix": s3_prefix or "",
|
| 288 |
-
"s3_endpoint": os.environ.get("S3_ENDPOINT", "")
|
|
|
|
| 289 |
}
|
| 290 |
)
|
| 291 |
out_manifest = runner.run_until_split()
|
|
|
|
| 285 |
"s3_bucket": os.environ.get("S3_BUCKET"),
|
| 286 |
"s3_region": "auto",
|
| 287 |
"s3_prefix": s3_prefix or "",
|
| 288 |
+
"s3_endpoint": os.environ.get("S3_ENDPOINT", ""),
|
| 289 |
+
"chunk_target_ms": 15 * 600000,
|
| 290 |
}
|
| 291 |
)
|
| 292 |
out_manifest = runner.run_until_split()
|