hetvaghasia39 commited on
Commit
ae7b78d
·
1 Parent(s): d48537f

updated requiremts

Browse files
Files changed (2) hide show
  1. main.py +2 -1
  2. requirements.txt +23 -0
main.py CHANGED
@@ -22,7 +22,7 @@ from utils import HuggingChat
22
  from langchain_core.prompts import PromptTemplate
23
  from langchain_community.embeddings import HuggingFaceEmbeddings
24
  import langchain
25
- langchain.debug = True
26
 
27
  dotenv.load_dotenv()
28
 
@@ -31,6 +31,7 @@ class GradioApp:
31
  def __init__(self):
32
 
33
  self.history = []
 
34
  # self.llm = ChatOllama(model="phi3:3.8b", base_url="http://localhost:11434", num_gpu=32)
35
 
36
 
 
22
  from langchain_core.prompts import PromptTemplate
23
  from langchain_community.embeddings import HuggingFaceEmbeddings
24
  import langchain
25
+ langchain.debug = False
26
 
27
  dotenv.load_dotenv()
28
 
 
31
  def __init__(self):
32
 
33
  self.history = []
34
+ print("init")
35
  # self.llm = ChatOllama(model="phi3:3.8b", base_url="http://localhost:11434", num_gpu=32)
36
 
37
 
requirements.txt CHANGED
@@ -47,6 +47,7 @@ idna==3.7
47
  importlib-metadata==7.0.0
48
  importlib_resources==6.4.0
49
  Jinja2==3.1.4
 
50
  jsonpatch==1.33
51
  jsonpointer==2.4
52
  jsonschema==4.22.0
@@ -69,7 +70,20 @@ monotonic==1.6
69
  mpmath==1.3.0
70
  multidict==6.0.5
71
  mypy-extensions==1.0.0
 
72
  numpy==1.26.4
 
 
 
 
 
 
 
 
 
 
 
 
73
  oauthlib==3.2.2
74
  onnxruntime==1.18.0
75
  opentelemetry-api==1.24.0
@@ -104,6 +118,7 @@ python-multipart==0.0.9
104
  pytz==2024.1
105
  PyYAML==6.0.1
106
  referencing==0.35.1
 
107
  requests==2.32.2
108
  requests-oauthlib==2.0.0
109
  requests-toolbelt==1.0.0
@@ -111,7 +126,12 @@ rich==13.7.1
111
  rpds-py==0.18.1
112
  rsa==4.9
113
  ruff==0.4.5
 
 
 
114
  semantic-version==2.10.0
 
 
115
  shellingham==1.5.4
116
  six==1.16.0
117
  sniffio==1.3.1
@@ -119,10 +139,13 @@ SQLAlchemy==2.0.30
119
  starlette==0.37.2
120
  sympy==1.12
121
  tenacity==8.3.0
 
122
  tokenizers==0.19.1
123
  tomlkit==0.12.0
124
  toolz==0.12.1
 
125
  tqdm==4.66.4
 
126
  typer==0.12.3
127
  typing-inspect==0.9.0
128
  typing_extensions==4.12.0
 
47
  importlib-metadata==7.0.0
48
  importlib_resources==6.4.0
49
  Jinja2==3.1.4
50
+ joblib==1.4.2
51
  jsonpatch==1.33
52
  jsonpointer==2.4
53
  jsonschema==4.22.0
 
70
  mpmath==1.3.0
71
  multidict==6.0.5
72
  mypy-extensions==1.0.0
73
+ networkx==3.3
74
  numpy==1.26.4
75
+ nvidia-cublas-cu12==12.1.3.1
76
+ nvidia-cuda-cupti-cu12==12.1.105
77
+ nvidia-cuda-nvrtc-cu12==12.1.105
78
+ nvidia-cuda-runtime-cu12==12.1.105
79
+ nvidia-cudnn-cu12==8.9.2.26
80
+ nvidia-cufft-cu12==11.0.2.54
81
+ nvidia-curand-cu12==10.3.2.106
82
+ nvidia-cusolver-cu12==11.4.5.107
83
+ nvidia-cusparse-cu12==12.1.0.106
84
+ nvidia-nccl-cu12==2.20.5
85
+ nvidia-nvjitlink-cu12==12.5.40
86
+ nvidia-nvtx-cu12==12.1.105
87
  oauthlib==3.2.2
88
  onnxruntime==1.18.0
89
  opentelemetry-api==1.24.0
 
118
  pytz==2024.1
119
  PyYAML==6.0.1
120
  referencing==0.35.1
121
+ regex==2024.5.15
122
  requests==2.32.2
123
  requests-oauthlib==2.0.0
124
  requests-toolbelt==1.0.0
 
126
  rpds-py==0.18.1
127
  rsa==4.9
128
  ruff==0.4.5
129
+ safetensors==0.4.3
130
+ scikit-learn==1.5.0
131
+ scipy==1.13.1
132
  semantic-version==2.10.0
133
+ sentence-transformers==2.7.0
134
+ setuptools==70.0.0
135
  shellingham==1.5.4
136
  six==1.16.0
137
  sniffio==1.3.1
 
139
  starlette==0.37.2
140
  sympy==1.12
141
  tenacity==8.3.0
142
+ threadpoolctl==3.5.0
143
  tokenizers==0.19.1
144
  tomlkit==0.12.0
145
  toolz==0.12.1
146
+ torch==2.3.0
147
  tqdm==4.66.4
148
+ transformers==4.41.1
149
  typer==0.12.3
150
  typing-inspect==0.9.0
151
  typing_extensions==4.12.0