Skip to main content

It is just doing some stuff intelligently.

Project description

🦈 Shirley

It is just doing some stuff intelligently. It has the following features:

Requirements

Installation

Setup virtual environment

[Optional] Configure that creating the virtualenv inside the project’s root directory:

poetry config virtualenvs.in-project true

If you are not using Python 3.10.6, you need to install the specific version. Alternatively, use pyenv to manage Python versions:

pyenv install 3.10.6

Use Python 3.10.6 for the environment:

poetry env use <PATH>

Create and activate the virtual environment:

poetry shell

Setup dependencies

Install dependencies:

poetry install

Install PyTorch.

[Chat] Setup Qwen model

Install submodule:

git submodule update --init --recursive

Update submodule:

git submodule update --remote --merge

[Text-To-Speech] Setup Azure AI Speech

Create AI Speech service in Azure portal.

Set environment variables:

export SPEECH_KEY=your-key
export SPEECH_REGION=your-region

Running

Activate the virtual environment:

poetry shell

Run WebUI:

poetry run webui

Run tests (not available yet):

poetry run pytest

WebUI Usage

TODO

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

shirley-0.1.1.tar.gz (11.1 kB view hashes)

Uploaded Source

Built Distribution

shirley-0.1.1-py3-none-any.whl (15.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page