Skip to content

Conversation

@sarthak11234
Copy link

🚀 Changes

  • Sound Effects (SFX): Added automatic SFX injection (e.g., whoosh.mp3) at every scene cut in broll2.py.
  • Karaoke Captions: Updated pycaps template to highlight the active spoken word in Cyan for better viewer engagement.
  • Mock Mode: Added a --mock flag to factory3.py and a create_mock_video.py script. This allows running the full pipeline without hitting the HeyGen API limits (Free Tier friendly).
  • MoviePy v2 Upgrade: Upgraded moviepy to v2.1.2 and refactored code to use the new API (with_effects, with_audio, etc.) to resolve dependency conflicts with Numpy/Pillow.

🛠️ How to Test

  1. Mock Mode (No Cost):
    python create_mock_video.py
    python factory3.py swipe_files/bear_facts.json --mock

- **Better Quality:**
    - Added SFX support in [broll2.py](cci:7://file:///c:/Users/sarth/OneDrive/Desktop/Omni/content_creation/broll2.py:0:0-0:0) (plays `whoosh.mp3` at scene cuts).
    - Implemented "Karaoke" style captions in `templates/centered/` (active word glows Cyan).

- **Dev Experience & Testing:**
    - Added `--mock` flag to `factory3.py` to test the pipeline without HeyGen API costs.
    - Added `create_mock_video.py` to generate placeholder assets.

- **Refactoring & Fixes:**
    - Upgraded to `moviepy` v2.1.2.
    - Migrated `broll2.py` to use v2 API (`with_effects`, `vfx.Resize`, `with_audio`).
    - Fixed dependency issues with Pillow/Numpy.
    - Added sample script `swipe_files/bear_facts.json` and `.env` template.
@sarthak11234
Copy link
Author

📝 Description

This PR introduces SQLite support to the application, allowing users to run the chatbot locally without setting up a full MySQL server. It also fixes a typo in the requirements file name.

🔧 Changes

  • Added SQLite Support: Updated main.py to include a "Database Type" selector (MySQL/SQLite). Users can now connect to a local SQLite database file.
  • Fixed Configuration: Renamed requirments.txt to requirements.txt to follow standard Python conventions.

🧪 Verification

  • Verified that the application starts successfully.
  • Tested connection with a dummy SQLite database (test.db).
  • Confirmed that simple queries work as expected with the new SQLite connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant