Spaces:
Sleeping
Sleeping
Commit
·
9cc1da2
1
Parent(s):
f13d295
Wrong db reference
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import chromadb
|
|
| 2 |
import os
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
-
client = chromadb.PersistentClient(path="./
|
| 6 |
collection = client.get_or_create_collection("test")
|
| 7 |
|
| 8 |
def query_episodes(query, n_results):
|
|
@@ -130,4 +130,4 @@ if __name__ == "__main__":
|
|
| 130 |
)
|
| 131 |
|
| 132 |
|
| 133 |
-
interface.launch()
|
|
|
|
| 2 |
import os
|
| 3 |
import gradio as gr
|
| 4 |
|
| 5 |
+
client = chromadb.PersistentClient(path="./db1")
|
| 6 |
collection = client.get_or_create_collection("test")
|
| 7 |
|
| 8 |
def query_episodes(query, n_results):
|
|
|
|
| 130 |
)
|
| 131 |
|
| 132 |
|
| 133 |
+
interface.launch()
|