Update run.py
Browse files
run.py
CHANGED
@@ -4,13 +4,11 @@ import gradio as gr
|
|
4 |
import json
|
5 |
from huggingface_hub import InferenceClient
|
6 |
|
7 |
-
path='/Users/thiloid/Desktop/
|
8 |
-
if(os.path.exists(path)==False): path="/home/user/app/
|
9 |
|
10 |
print(path)
|
11 |
-
|
12 |
-
#settings = Settings(persist_directory=storage_path)
|
13 |
-
#client = chromadb.Client(settings=settings)
|
14 |
client = chromadb.PersistentClient(path=path)
|
15 |
print(client.heartbeat())
|
16 |
print(client.get_version())
|
|
|
4 |
import json
|
5 |
from huggingface_hub import InferenceClient
|
6 |
|
7 |
+
path='/Users/thiloid/Desktop/Avah/chromafiles'
|
8 |
+
if(os.path.exists(path)==False): path="/home/user/app/chromafiles"
|
9 |
|
10 |
print(path)
|
11 |
+
|
|
|
|
|
12 |
client = chromadb.PersistentClient(path=path)
|
13 |
print(client.heartbeat())
|
14 |
print(client.get_version())
|