Skip to content

Commit

Permalink
Updated version to 2.2.17
Browse files Browse the repository at this point in the history
  • Loading branch information
szczyglis-dev committed May 5, 2024
1 parent 2f512ff commit b3215ea
Show file tree
Hide file tree
Showing 17 changed files with 43 additions and 22 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# CHANGELOG

# 2.2.17 (2024-05-05)

- Fix: Added prevent try to play audio if empty output.
- Disabled playing finish event on audio or voice control enabled.

# 2.2.16 (2024-05-05)

- Escape key now stops response generation and audio output (if playing).
Expand Down
4 changes: 2 additions & 2 deletions PyGPT_Linux_PAD_File.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<PAD>
<PAD_Version>4.0</PAD_Version>
<Program_Name>PyGPT - Desktop AI Assistant</Program_Name>
<Program_Version>2.2.16</Program_Version>
<Program_Version>2.2.17</Program_Version>
<Program_Release_Month>05</Program_Release_Month>
<Program_Release_Day>05</Program_Release_Day>
<Program_Release_Year>2024</Program_Release_Year>
<Program_Cost_Dollars>0</Program_Cost_Dollars>
<Program_Type>Open Source</Program_Type>
<Download_URL>https://pygpt.net/download/2.2.16/pygpt-2.2.16.tar.gz</Download_URL>
<Download_URL>https://pygpt.net/download/2.2.17/pygpt-2.2.17.tar.gz</Download_URL>
<Application_OS_Support>Linux 64 bit</Application_OS_Support>
<Program_Specific_Category>Generative AI Tools</Program_Specific_Category>
<Program_Language>English, Polish</Program_Language>
Expand Down
4 changes: 2 additions & 2 deletions PyGPT_Windows_PAD_File.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<PAD>
<PAD_Version>4.0</PAD_Version>
<Program_Name>PyGPT - Desktop AI Assistant</Program_Name>
<Program_Version>2.2.16</Program_Version>
<Program_Version>2.2.17</Program_Version>
<Program_Release_Month>05</Program_Release_Month>
<Program_Release_Day>05</Program_Release_Day>
<Program_Release_Year>2024</Program_Release_Year>
<Program_Cost_Dollars>0</Program_Cost_Dollars>
<Program_Type>Open Source</Program_Type>
<Download_URL>https://pygpt.net/download/2.2.16/pygpt-2.2.16.msi</Download_URL>
<Download_URL>https://pygpt.net/download/2.2.17/pygpt-2.2.17.msi</Download_URL>
<Application_OS_Support>Windows 10 64 bit, Windows 11 64 bit</Application_OS_Support>
<Program_Specific_Category>Generative AI Tools</Program_Specific_Category>
<Program_Language>English, Polish</Program_Language>
Expand Down
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[![pygpt](https://snapcraft.io/pygpt/badge.svg)](https://snapcraft.io/pygpt)

Release: **2.2.16** | build: **2024.05.05** | Python: **>=3.10, <3.12**
Release: **2.2.17** | build: **2024.05.05** | Python: **>=3.10, <3.12**

Official website: https://pygpt.net | Documentation: https://pygpt.readthedocs.io

Expand Down Expand Up @@ -3267,6 +3267,11 @@ may consume additional tokens that are not displayed in the main window.

## Recent changes:

**2.2.17 (2024-05-05)**

- Fix: Added prevent try to play audio if empty output.
- Disabled playing finish event on audio or voice control enabled.

**2.2.16 (2024-05-05)**

- Escape key now stops response generation and audio output (if playing).
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
project = 'PyGPT'
copyright = '2024, pygpt.net'
author = 'szczyglis-dev, Marcin Szczygliński'
release = '2.2.16'
release = '2.2.17'

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
Expand Down
4 changes: 2 additions & 2 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
PyGPT - pygpt.net
====================

| **Last update:** 2024-05-05 16:00
| **Last update:** 2024-05-05 17:00
| **Project website:** https://pygpt.net
| **GitHub:** https://github.com/szczyglis-dev/py-gpt
| **Snap Store:** https://snapcraft.io/pygpt
| **PyPI:** https://pypi.org/project/pygpt-net
| **Release:** 2.2.16 (2024-05-05)
| **Release:** 2.2.17 (2024-05-05)
.. toctree::
:maxdepth: 3
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "pygpt-net"
version = "2.2.16"
version = "2.2.17"
description = "Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3.5, DALL-E 3, Langchain LLMs, Llama-index, Whisper with chatbot, assistant, text completion, vision and image generation, internet access, chat with files, commands and code execution, file upload and download and more"
authors = ["Marcin Szczyglinski <info@pygpt.net>"]
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

VERSION = '2.2.16'
VERSION = '2.2.17'
DESCRIPTION = 'Desktop AI Assistant powered by GPT-4, GPT-4V, GPT-3.5, DALL-E 3, Langchain LLMs, Llama-index, ' \
'Whisper and more with chatbot, assistant, text completion, vision and image generation, ' \
'internet access, chat with files, commands and code execution, file upload and download and more'
Expand Down
2 changes: 1 addition & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: pygpt
base: core22 # Ubuntu 22.04
version: '2.2.16'
version: '2.2.17'
summary: Desktop AI Assistant - GPT-4, GPT-4V, GPT-3, DALL-E 3, chat, assistant, vision
description: |
**PyGPT** is **all-in-one** Desktop AI Assistant that provides direct interaction with OpenAI language models, including GPT-4, GPT-4 Vision, and GPT-3.5, through the OpenAI API. The application also integrates with alternative LLMs, like those available on HuggingFace, by utilizing Langchain.
Expand Down
5 changes: 5 additions & 0 deletions src/pygpt_net/CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2.2.17 (2024-05-05)

- Fix: Added prevent try to play audio if empty output.
- Disabled playing finish event on audio or voice control enabled.

2.2.16 (2024-05-05)

- Escape key now stops response generation and audio output (if playing).
Expand Down
2 changes: 1 addition & 1 deletion src/pygpt_net/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
__copyright__ = "Copyright 2024, Marcin Szczygliński"
__credits__ = ["Marcin Szczygliński"]
__license__ = "MIT"
__version__ = "2.2.16"
__version__ = "2.2.17"
__build__ = "2024.05.05"
__maintainer__ = "Marcin Szczygliński"
__github__ = "https://github.com/szczyglis-dev/py-gpt"
Expand Down
3 changes: 3 additions & 0 deletions src/pygpt_net/controller/audio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ def read_text(self, text: str, cache_file: str = None):
:param text: text to read
:param cache_file: cache file to save
"""
if text is None or text.strip() == "":
return

ctx = CtxItem()
ctx.output = text
all = True # to all plugins (even if disabled)
Expand Down
4 changes: 2 additions & 2 deletions src/pygpt_net/data/config/config.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"__meta__": {
"version": "2.2.16",
"app.version": "2.2.16",
"version": "2.2.17",
"app.version": "2.2.17",
"updated_at": "2024-05-05T00:00:00"
},
"access.audio.event.speech": false,
Expand Down
4 changes: 2 additions & 2 deletions src/pygpt_net/data/config/models.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"__meta__": {
"version": "2.2.16",
"app.version": "2.2.16",
"version": "2.2.17",
"app.version": "2.2.17",
"updated_at": "2024-05-05T00:00:00"
},
"items": {
Expand Down
4 changes: 2 additions & 2 deletions src/pygpt_net/data/config/modes.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"__meta__": {
"version": "2.2.16",
"app.version": "2.2.16",
"version": "2.2.17",
"app.version": "2.2.17",
"updated_at": "2024-05-05T00:00:00"
},
"items": {
Expand Down
3 changes: 3 additions & 0 deletions src/pygpt_net/plugin/audio_output/worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ def __init__(self, *args, **kwargs):
def run(self):
from pygame import mixer
try:
if self.text is None or self.text == "":
self.stop_playback() # stop previous playback
return
path = self.plugin.get_provider().speech(self.text)
if path:
mixer.init()
Expand Down
8 changes: 4 additions & 4 deletions version.rc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VSVersionInfo(
ffi=FixedFileInfo(
filevers=(2, 2, 16, 0),
prodvers=(2, 2, 16, 0),
filevers=(2, 2, 17, 0),
prodvers=(2, 2, 17, 0),
mask=0x3f,
flags=0x0,
OS=0x4,
Expand All @@ -16,12 +16,12 @@ StringFileInfo(
u'040904B0',
[StringStruct(u'CompanyName', u'pygpt.net'),
StringStruct(u'FileDescription', u'Desktop AI Assistant powered by GPT-4, GPT-3 and DALL-E 3: assistant, chatbot, text completion, image generation, vision and more.'),
StringStruct(u'FileVersion', u'2.2.16'),
StringStruct(u'FileVersion', u'2.2.17'),
StringStruct(u'InternalName', u'pygpt'),
StringStruct(u'LegalCopyright', u'(c) 2024 pygpt.net, Marcin Szczygliński'),
StringStruct(u'OriginalFilename', u'pygpt.exe'),
StringStruct(u'ProductName', u'pygpt.net'),
StringStruct(u'ProductVersion', u'2.2.16')])
StringStruct(u'ProductVersion', u'2.2.17')])
]),
VarFileInfo([VarStruct(u'Translation', [1033, 1200])])
]
Expand Down

0 comments on commit b3215ea

Please sign in to comment.