Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,9 @@ from chromadb.config import Settings
|
|
5 |
|
6 |
from chromadb import PersistentClient
|
7 |
|
|
|
|
|
|
|
8 |
# Set the correct path to the ChromaDB directory
|
9 |
client_db = PersistentClient(path="./chromadb_directory/chromadb_file")
|
10 |
|
|
|
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="facebook/zephyr-7b-beta") # Example model name
|
10 |
+
|
11 |
# Set the correct path to the ChromaDB directory
|
12 |
client_db = PersistentClient(path="./chromadb_directory/chromadb_file")
|
13 |
|