Skip to content

tts models support - #2033

Merged
takatost merged 59 commits into
langgenius:mainfrom
charli117:tts-models-support
Jan 23, 2024
Merged

takatost merged 59 commits into
langgenius:mainfrom
charli117:tts-models-support

Conversation

@charli117

Copy link
Copy Markdown
Contributor

add tts models, Supports voice reading of generated content

luowei and others added 29 commits October 24, 2023 22:32
# Conflicts:
#	web/i18n/lang/app-overview.zh.ts
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
@dosubot dosubot Bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Jan 15, 2024
@charli117

Copy link
Copy Markdown
Contributor Author

看来这里发生了一些冲突😬

@takatost 已解决冲突

crazywoola
crazywoola previously approved these changes Jan 22, 2024
@dosubot dosubot Bot added the lgtm label Jan 22, 2024
@takatost

Copy link
Copy Markdown
Contributor

let me check it out later.

@Yeuoly

Yeuoly commented Jan 22, 2024

Copy link
Copy Markdown
Contributor

database migration has conflict with e19ad02

@takatost
takatost requested a review from crazywoola January 22, 2024 07:41
@takatost
takatost dismissed crazywoola’s stale review January 22, 2024 07:43

Need to wait for the assistants PR to be merged before merging, due to migration version conflicts

@takatost

Copy link
Copy Markdown
Contributor
/~/miniconda3/envs/dify/lib/python3.10/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

Hey @charli117, I've started a project on macOS from the source code, but it seems that the ffmpeg component is missing. I noticed that the Dockerfile installs this component. Do I need to install ffmpeg separately for local source code deployment on macOS/Windows? What are the steps?

@charli117

Copy link
Copy Markdown
Contributor Author
/~/miniconda3/envs/dify/lib/python3.10/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

Hey @charli117, I've started a project on macOS from the source code, but it seems that the ffmpeg component is missing. I noticed that the Dockerfile installs this component. Do I need to install ffmpeg separately for local source code deployment on macOS/Windows? What are the steps?

@takatost Required, ffmpeg is a must-have component both the local development environment and Dockerfile need to install it。
on macos run “brew install ffmpeg”

@takatost

Copy link
Copy Markdown
Contributor
/~/miniconda3/envs/dify/lib/python3.10/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

Hey @charli117, I've started a project on macOS from the source code, but it seems that the ffmpeg component is missing. I noticed that the Dockerfile installs this component. Do I need to install ffmpeg separately for local source code deployment on macOS/Windows? What are the steps?

@takatost Required, ffmpeg is a must-have component both the local development environment and Dockerfile need to install it。 on macos run “brew install ffmpeg”

Can we run a check to see if ffmpeg is installed when enabling this feature? If it's not, perhaps we throw an error saying that ffmpeg needs to be installed to use this feature?

@charli117

Copy link
Copy Markdown
Contributor Author
/~/miniconda3/envs/dify/lib/python3.10/site-packages/pydub/utils.py:170: RuntimeWarning: Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work
  warn("Couldn't find ffmpeg or avconv - defaulting to ffmpeg, but may not work", RuntimeWarning)

Hey @charli117, I've started a project on macOS from the source code, but it seems that the ffmpeg component is missing. I noticed that the Dockerfile installs this component. Do I need to install ffmpeg separately for local source code deployment on macOS/Windows? What are the steps?

@takatost Required, ffmpeg is a must-have component both the local development environment and Dockerfile need to install it。 on macos run “brew install ffmpeg”

Can we run a check to see if ffmpeg is installed when enabling this feature? If it's not, perhaps we throw an error saying that ffmpeg needs to be installed to use this feature?

@takatost It should be. I'll look into adding an anomaly check

luowei and others added 4 commits January 23, 2024 22:50
# Conflicts:
#	api/controllers/console/universal_chat/audio.py
#	api/controllers/console/universal_chat/parameter.py
#	api/controllers/console/universal_chat/wraps.py
#	api/requirements.txt
#	web/app/components/app/configuration/config/feature/choose-feature/feature-item/style.module.css
#	web/app/components/app/configuration/config/index.tsx
#	web/app/components/app/configuration/index.tsx
#	web/app/components/develop/template/template.en.mdx
#	web/app/components/develop/template/template.zh.mdx
#	web/app/components/develop/template/template_chat.en.mdx
#	web/app/components/develop/template/template_chat.zh.mdx
#	web/app/components/share/chat/index.tsx
takatost
takatost previously approved these changes Jan 23, 2024

@takatost takatost left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@takatost
takatost merged commit 6355e61 into langgenius:main Jan 23, 2024
guchenhe pushed a commit that referenced this pull request Jan 24, 2024
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
@charli117
charli117 deleted the tts-models-support branch January 24, 2024 15:07
HuberyHuV1 pushed a commit to HuberyHuV1/dify that referenced this pull request Jul 22, 2024
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💪 enhancement New feature or request size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants