Skip to content

Commit

Permalink
X
Browse files Browse the repository at this point in the history
  • Loading branch information
Changochen committed Jun 7, 2024
1 parent 4e0c236 commit 8a2abd5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ jobs:
python -m venv .venv
source .venv/bin/activate
pip install .
pip install pyright
echo "$VIRTUAL_ENV/bin" >> $GITHUB_PATH
echo "VIRTUAL_ENV=$VIRTUAL_ENV" >> $GITHUB_ENV
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
name = "slide-to-video"
version = "0.1.0"
description = "Generate video from slides."
description = "Generate video from slide and script."
authors = [
{ name = "Yongheng Chen", email = "changochen1@gmail.com" }
]
Expand Down
4 changes: 2 additions & 2 deletions src/script/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ def generate(
slide: str = typer.Option(..., help="Slide to use"),
script: str = typer.Option(..., help="Script to use"),
output_dir: str = typer.Option(..., help="Output directory"),
voice_sample_path: Optional[str] = typer.Option(
None, help="Path to voice sample. Only needed for local model"
voice: Optional[str] = typer.Option(
None, help="Voice sample path or ID. Depends on the model."
),
speech_speed: Optional[float] = typer.Option(
None, help="Speed of the speech. Default value: 1.0."
Expand Down

0 comments on commit 8a2abd5

Please sign in to comment.