Skip to content

Fix: Add missing models and fix Windows startup - #2

Open
yezhh-pz wants to merge 1 commit into
CheshireMew:mainfrom
yezhh-pz:main
Open

Fix: Add missing models and fix Windows startup#2
yezhh-pz wants to merge 1 commit into
CheshireMew:mainfrom
yezhh-pz:main

Conversation

@yezhh-pz

Copy link
Copy Markdown

What does this PR do?

Fixes critical issues that prevented the project from running on Windows:

  1. Added missing core files:
    • backend/models/schemas.py
  • backend/models/task_model.py
  1. Fixed startup scripts:
  • Updated start.bat
  • Fixed .gitignore
  1. Fixed transcribe.py import statement
    Testing
    Tested on Windows 11 with Python 3.13.
    The application now starts successfully.

- Added backend/models/schemas.py and task_model.py
   - Fixed .gitignore to not ignore backend/models/
   - Fixed start.bat to activate venv and set PYTHONPATH
   - Fixed transcribe.py import statement
@CheshireMew

Copy link
Copy Markdown
Owner

Thanks for the contribution. We reviewed the issues raised in this PR against the current main branch. Parts of it, such as the current transcription route structure and the startup flow, have already diverged and are now handled differently in main.

That said, the underlying issue with the backend/models git ignore rules is valid: some source files under that directory, such as task_model.py, are real code dependencies and should not have been left out of version control. We will address that issue separately in a way that matches the current codebase structure.

So while the direction was helpful, this PR is not a clean fit for the current branch. Thanks for pointing it out.

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.

2 participants