Skip to content

Commit

Permalink
fix syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchit-gandhi committed Nov 30, 2023
1 parent 8c9bbdb commit 9c50a6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def format_timestamp(seconds: float, always_include_hours: bool = False, decimal
start = time.time()
random_inputs = {
"input_features": np.ones(
BATCH_SIZE, pipeline.model.config.num_mel_bins, 2 * pipeline.model.config.max_source_positions
(BATCH_SIZE, pipeline.model.config.num_mel_bins, 2 * pipeline.model.config.max_source_positions)
)
}
random_timestamps = pipeline.forward(random_inputs, batch_size=BATCH_SIZE, return_timestamps=True)
Expand Down

0 comments on commit 9c50a6e

Please sign in to comment.