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