Skip to content

Commit f9bb043

Browse files
fix: env issue with pinned openh264 and pydantic (#16)
* fix: env issue with pinned openh264 and pydantic * chore: fix eol
1 parent a6b1c05 commit f9bb043

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

.gitattributes

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
###############################
2+
# Git Line Endings #
3+
###############################
4+
5+
# Set default behaviour to automatically normalize line endings.
6+
* text=auto
7+
8+
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
9+
# in Windows via a file share from Linux, the scripts will work.
10+
*.{cmd,[cC][mM][dD]} text eol=crlf
11+
*.{bat,[bB][aA][tT]} text eol=crlf
12+
13+
# Force bash scripts to always use LF line endings so that if a repo is accessed
14+
# in Unix via a file share from Windows, the scripts will work.
15+
*.sh text eol=lf

env-amd-linux.yml renamed to env-amd-linux.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Mohamad-Hussein: I could not access an AMD GPU
2-
# so this config is untested
2+
# so this config is untested
33
name: speech-assistant
44
channels:
55
- pytorch
66
- defaults
77
dependencies:
88
- ffmpeg=4.3
9-
- openh264=2.1.1=h4ff587b_0 # This is needed for reading audio bytes rather than a file (https://stackoverflow.com/a/63977043/5288816)
9+
- openh264=2.5.0 # This is needed for reading audio bytes rather than a file (https://stackoverflow.com/a/63977043/5288816)
1010
- python=3.11.5
1111
# Use this when there is a rendering problem from customtkinter
1212
# - conda-forge::tk=*=xft_* # For Linux customtkinter support (solution https://github.com/ContinuumIO/anaconda-issues/issues/6833#issuecomment-1805812007)
@@ -18,6 +18,7 @@ dependencies:
1818
- accelerate==0.24.1
1919
- optimum==1.15.0
2020
- pyaudio==0.2.14
21+
- pydantic==2.10.1
2122
- playsound==1.3.0
2223
- pyautogui==0.9.54
2324
- pyclip==0.7.0

env-cuda.yml renamed to env-cuda.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ channels:
66
- defaults
77
dependencies:
88
- ffmpeg=4.3
9-
- openh264=2.1.1=h4ff587b_0 # This is needed for reading audio bytes rather than a file (https://stackoverflow.com/a/63977043/5288816)
9+
- openh264=2.5.0 # This is needed for reading audio bytes rather than a file (https://stackoverflow.com/a/63977043/5288816)
1010
- python=3.11.5
1111
# Use this when there is a rendering problem from customtkinter
1212
# - conda-forge::tk=*=xft_* # For Linux customtkinter support (solution https://github.com/ContinuumIO/anaconda-issues/issues/6833#issuecomment-1805812007)
@@ -17,6 +17,7 @@ dependencies:
1717
- accelerate==0.30.1
1818
- optimum==1.19.2
1919
- pyaudio==0.2.14
20+
- pydantic==2.10.1
2021
- playsound==1.3.0
2122
- pyautogui==0.9.54
2223
- pyclip==0.7.0

env-general-win.yml renamed to env-general-win.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
name: speech-assistant
22
channels:
33
- pytorch
4+
- conda-forge
45
- defaults
56
dependencies:
67
- ffmpeg=4.3
7-
- openh264=2.1.1=h4ff587b_0 # This is needed for reading audio bytes rather than a file (https://stackoverflow.com/a/63977043/5288816)
8+
- openh264=2.5.0 # This is needed for reading audio bytes rather than a file (https://stackoverflow.com/a/63977043/5288816)
89
- python=3.9
910
# Use this when there is a rendering problem from customtkinter
1011
# - conda-forge::tk=*=xft_* # For Linux customtkinter support (solution https://github.com/ContinuumIO/anaconda-issues/issues/6833#issuecomment-1805812007)
@@ -16,6 +17,7 @@ dependencies:
1617
- accelerate==0.24.1
1718
- optimum==1.15.0
1819
- pyaudio==0.2.14
20+
- pydantic==2.10.1
1921
- playsound==1.2.2
2022
- pyautogui==0.9.54
2123
- pyclip==0.7.0
@@ -30,4 +32,3 @@ dependencies:
3032
- langgraph
3133
- chainlit==1.1.202
3234
- customtkinter
33-

0 commit comments

Comments
 (0)