YSMlearnsCode commited on
Commit
7600206
·
1 Parent(s): f012dde

changed dependencies

Browse files
Files changed (4) hide show
  1. .python-version +1 -1
  2. pyproject.toml +3 -3
  3. src/llm_client.py +0 -2
  4. uv.lock +0 -0
.python-version CHANGED
@@ -1 +1 @@
1
- 3.11
 
1
+ 3.13
pyproject.toml CHANGED
@@ -3,14 +3,14 @@ name = "cadomatic"
3
  version = "0.1.0"
4
  description = "This is a code to create editable CAD files from natural language prompts"
5
  readme = "README.md"
6
- requires-python = ">=3.11"
7
  dependencies = [
8
  "python-dotenv>=1.1.1",
9
  "langchain>=0.3.27",
10
  "beautifulsoup4>=4.13.4",
11
- "langchain-google-genai>=2.1.8",
12
  "langchain-community>=0.3.27",
13
  "faiss-cpu>=1.11.0",
14
  "huggingface-hub>=0.34.3",
15
- "gradio>=5.39.0",
16
  ]
 
3
  version = "0.1.0"
4
  description = "This is a code to create editable CAD files from natural language prompts"
5
  readme = "README.md"
6
+ requires-python = ">=3.13"
7
  dependencies = [
8
  "python-dotenv>=1.1.1",
9
  "langchain>=0.3.27",
10
  "beautifulsoup4>=4.13.4",
11
+ "langchain-google-genai>=2.1.9",
12
  "langchain-community>=0.3.27",
13
  "faiss-cpu>=1.11.0",
14
  "huggingface-hub>=0.34.3",
15
+ "gradio>=5.39.0"
16
  ]
src/llm_client.py CHANGED
@@ -4,11 +4,9 @@ from huggingface_hub import hf_hub_download
4
  from langchain_community.vectorstores import FAISS
5
  from langchain_google_genai import ChatGoogleGenerativeAI, GoogleGenerativeAIEmbeddings
6
  from dotenv import load_dotenv
7
- import google.generativeai as genai
8
 
9
  # Load API key
10
  load_dotenv()
11
- genai.configure(api_key=os.environ.get("GEMINI_API_KEY"))
12
 
13
  # Set up Hugging Face repo and files
14
  REPO_ID = "Yas1n/CADomatic_vectorstore"
 
4
  from langchain_community.vectorstores import FAISS
5
  from langchain_google_genai import ChatGoogleGenerativeAI, GoogleGenerativeAIEmbeddings
6
  from dotenv import load_dotenv
 
7
 
8
  # Load API key
9
  load_dotenv()
 
10
 
11
  # Set up Hugging Face repo and files
12
  REPO_ID = "Yas1n/CADomatic_vectorstore"
uv.lock CHANGED
The diff for this file is too large to render. See raw diff