Solshine commited on
Commit
bac38da
1 Parent(s): 6add83e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -5,13 +5,13 @@ from chromadb.config import Settings
5
 
6
  from chromadb import PersistentClient
7
 
8
- # Initialize the inference client with your model (ensure you have access to the model)
9
- inference_client = InferenceClient(model="meta-llama/Llama-3.2-11B-Vision") # Example model name
10
 
11
- # Set the correct path to the ChromaDB directory
12
  client_db = PersistentClient(path="./chromadb_directory/chromadb_file")
13
 
14
- # Load your collection
15
  collection = client_db.get_collection("my_collection")
16
 
17
  # Function to retrieve documents from ChromaDB, ensuring results are strings
 
5
 
6
  from chromadb import PersistentClient
7
 
8
+ # Initialize the inference client with model
9
+ inference_client = InferenceClient(model="unsloth/Llama-3.2-3B-Instruct")
10
 
11
+ # path to the ChromaDB directory
12
  client_db = PersistentClient(path="./chromadb_directory/chromadb_file")
13
 
14
+ # Load collection
15
  collection = client_db.get_collection("my_collection")
16
 
17
  # Function to retrieve documents from ChromaDB, ensuring results are strings