Skip to content

Commit

Permalink
Fix rich dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
yorevs committed Dec 10, 2024
1 parent 6860405 commit d66d73c
Show file tree
Hide file tree
Showing 6 changed files with 54 additions and 60 deletions.
Empty file removed .gitmodules
Empty file.
28 changes: 0 additions & 28 deletions .run/Ask Interactive Mute.run.xml

This file was deleted.

29 changes: 0 additions & 29 deletions .run/Ask Interactive.run.xml

This file was deleted.

5 changes: 3 additions & 2 deletions dependencies.hspd
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@

/* HSPyLib projects */
package: hspylib, version: 1.12.53, mode: ge
package: hspylib-datasource, version: 0.9.82, mode: ge
package: hspylib-clitt, version: 0.9.140, mode: ge
package: hspylib-setman, version: 0.10.43, mode: ge

Expand Down Expand Up @@ -44,8 +45,8 @@ package: aiohttp, version: 3.10.5, mode: eq
package: html2text, version: 2024.2.26, mode: eq

/* CLI/TUI */
package: rich, version: 13.8.1, mode: eq
package: textual, version: 0.87.1, mode: eq
package: rich, version: 13.9.4, mode: eq
package: textual, version: 0.89.1, mode: eq

/* Audio */
package: soundfile, version: 0.12.1, mode: eq
Expand Down
2 changes: 1 addition & 1 deletion src/main/askai/core/support/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ def read_resource(base_dir: AnyPath, filename: AnyPath, file_ext: str = ".txt")
return Path(filename).read_text(encoding=Charset.UTF_8.val)


def read_file(load_dir: AnyPath, path_name: str) -> Optional[str]:
def read_file(load_dir: AnyPath, path_name: str) -> str:
"""Reads the contents of a file from the specified directory.
:param load_dir: The directory where the file is located.
:param path_name: The path name of the file to read.
Expand Down
50 changes: 50 additions & 0 deletions src/main/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
###### AUTO-GENERATED Requirements file for: AskAI ######

hspylib>=1.12.53
hspylib-datasource>=0.9.82
hspylib-clitt>=0.9.140
hspylib-setman>=0.10.43
retry2==0.9.5
pause==0.3
tqdm==4.66.5
pyperclip==1.9.0
python-magic==0.4.27
pytz==2024.2
transitions==0.9.2
pydantic==2.10.2
langchain==0.3.9
langchain-openai>=0.2.10
langchain-community==0.3.8
langchain-google-community==2.0.3
openai-whisper==20240930
openai==1.55.3
google-api-python-client==2.154.0
fake_useragent==1.5.1
requests==2.32.3
urllib3==2.2.3
protobuf==4.25.4
aiohttp==3.10.5
html2text==2024.2.26
rich==13.9.4
textual==0.89.1
soundfile==0.12.1
PyAudio==0.2.14
SpeechRecognition==3.10.4
opencv-python==4.10.0.84
pyautogui==0.9.54
torch>=2.2.2
torchvision>=0.17.2
open-clip-torch
opentelemetry-api==1.27.0
opentelemetry-sdk==1.27.0
opentelemetry-proto==1.27.0
transformers==4.45.2
unstructured==0.16.0
unstructured[md]==0.16.0
tiktoken==0.8.0
stanza==1.1.1
nltk==3.9.1
faiss-cpu~=1.8.0
chromadb==0.5.5
deepl==1.18.0
argostranslate==1.9.1

0 comments on commit d66d73c

Please sign in to comment.