Spaces:
Running
on
Zero
Running
on
Zero
refactor: Improve waveform visualization and update app description
Browse files
app.py
CHANGED
|
@@ -116,7 +116,7 @@ Key requirements:
|
|
| 116 |
- Output exactly ONE command that will be directly pasted into the terminal
|
| 117 |
- Never output multiple commands chained together
|
| 118 |
- Output the command in a single line (no line breaks or multiple lines)
|
| 119 |
-
- If the user asks for waveform visualization make sure to set the mode to `line` with and the use the full width of the video
|
| 120 |
|
| 121 |
|
| 122 |
Remember: Simpler is better. Only use advanced ffmpeg features if absolutely necessary for the requested output.
|
|
@@ -244,7 +244,7 @@ with gr.Blocks() as demo:
|
|
| 244 |
gr.Markdown(
|
| 245 |
"""
|
| 246 |
# π Video Composer
|
| 247 |
-
Compose new videos
|
| 248 |
**Please note: This demo is not a generative AI model, it only uses [Qwen2.5-Coder](https://huggingface.co/Qwen/Qwen2.5-Coder-32B) to generate a valid FFMPEG command based on the input files and the prompt.**
|
| 249 |
""",
|
| 250 |
elem_id="header",
|
|
|
|
| 116 |
- Output exactly ONE command that will be directly pasted into the terminal
|
| 117 |
- Never output multiple commands chained together
|
| 118 |
- Output the command in a single line (no line breaks or multiple lines)
|
| 119 |
+
- If the user asks for waveform visualization make sure to set the mode to `line` with and the use the full width of the video. Also concatenate the audio into a single channel.
|
| 120 |
|
| 121 |
|
| 122 |
Remember: Simpler is better. Only use advanced ffmpeg features if absolutely necessary for the requested output.
|
|
|
|
| 244 |
gr.Markdown(
|
| 245 |
"""
|
| 246 |
# π Video Composer
|
| 247 |
+
Compose new videos from your assets using natural language. Add video, image and audio assets and let [Qwen2.5-Coder](https://huggingface.co/Qwen/Qwen2.5-Coder-32B) compose a new video.
|
| 248 |
**Please note: This demo is not a generative AI model, it only uses [Qwen2.5-Coder](https://huggingface.co/Qwen/Qwen2.5-Coder-32B) to generate a valid FFMPEG command based on the input files and the prompt.**
|
| 249 |
""",
|
| 250 |
elem_id="header",
|