victor HF staff commited on
Commit
19004e8
1 Parent(s): ee49e9e
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -115,8 +115,9 @@ Key requirements:
115
  - Prefer simple concatenation, scaling, and basic filters
116
  - Output exactly ONE command that will be directly pasted into the terminal
117
  - Never output multiple commands chained together
118
- - Do not specify yuv420p pixel format - let ffmpeg choose the optimal format
119
  - Output the command in a single line (no line breaks or multiple lines)
 
 
120
 
121
  Remember: Simpler is better. Only use advanced ffmpeg features if absolutely necessary for the requested output.
122
  """,
@@ -220,7 +221,7 @@ def update(files, prompt, top_p=1, temperature=1):
220
  print("Command is not valid. Error output:")
221
  print(ffmpg_dry_run.stderr)
222
  raise Exception(
223
- "FFMPEG generated command is not valid. Please try again."
224
  )
225
 
226
  output_file_name = f"output_{uuid.uuid4()}.mp4"
 
115
  - Prefer simple concatenation, scaling, and basic filters
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.
123
  """,
 
221
  print("Command is not valid. Error output:")
222
  print(ffmpg_dry_run.stderr)
223
  raise Exception(
224
+ "FFMPEG generated command is not valid. Please try something else."
225
  )
226
 
227
  output_file_name = f"output_{uuid.uuid4()}.mp4"