Skip to content

Commit

Permalink
Bump up to version 1.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed May 7, 2024
1 parent 5aaf455 commit 1ccf43d
Show file tree
Hide file tree
Showing 5 changed files with 1,033 additions and 1,388 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
## 1.3.1

Fix dep issues from ctranslate2 and streamlit-related packages.
### New Features:

- Add custom endpoint (base_url) support for OpenAI & Anthropic
- Generating bilingual subtitles.

### Other Changes:

- Fix dep issues from ctranslate2 and streamlit-related packages.

## 1.3.0

Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ e.g. [OpenAI-GPT](https://github.com/openai/openai-python), [Anthropic-Claude](h
lrcer = LRCer(chatbot_model='claude-3-sonnet-20240229')
```
- 2024.4.4: Add basic streamlit GUI support. Try `openlrc gui` to start the GUI.
- 2024.5.7:
- Add custom endpoint (base_url) support for OpenAI & Anthropic:
```python
lrcer = LRCer(base_url_config={'openai': 'https://api.chatanywhere.tech',
'anthropic': 'https://api.g4f.icu'})
```
- Generating bilingual subtitles
```python
lrcer.run('./data/test.mp3', target_lang='zh-cn', bilingual_sub=True)
```

## Installation ⚙️

Expand Down Expand Up @@ -128,6 +138,13 @@ if __name__ == '__main__':

# Clear temp folder after processing done
lrcer.run('./data/test.mp3', target_lang='zh-cn', clear_temp_folder=True)

# Change base_url
lrcer = LRCer(base_url_config={'openai': 'https://api.chatanywhere.tech',
'anthropic': 'https://api.g4f.icu'})

# Bilingual subtitle
lrcer.run('./data/test.mp3', target_lang='zh-cn', bilingual_sub=True)
```

Check more details in [Documentation](https://zh-plus.github.io/openlrc/#/).
Expand Down Expand Up @@ -204,6 +221,8 @@ For non-english audio, we recommend using `claude-3-sonnet-20240229`.
- [x] [Feature] Web-based [streamlit](https://streamlit.io/) GUI.
- [ ] Add [fine-tuned whisper-large-v2](https://huggingface.co/models?search=whisper-large-v2) models for common
languages.
- [x] [Feature] Add custom OpenAI & Anthropic endpoint support.
- [ ] [Feature] Add local translation model support (e.g. [SakuraLLM](https://github.com/SakuraLLM/Sakura-13B-Galgame)).
- [ ] [Others] Add transcribed examples.
- [ ] Song
- [ ] Podcast
Expand Down
Loading

0 comments on commit 1ccf43d

Please sign in to comment.