Spaces:
Sleeping
Sleeping
kgauvin603
commited on
Commit
•
8f69a60
1
Parent(s):
317cd3e
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def build_database():
|
|
23 |
collection_name = 'Dataset-10k-companies'
|
24 |
|
25 |
# Uncomment the line below to delete the existing collection if needed
|
26 |
-
|
27 |
|
28 |
# Create a new collection in ChromaDB
|
29 |
collection = chroma_client.create_collection(name=collection_name)
|
@@ -181,4 +181,4 @@ iface = gr.Interface(
|
|
181 |
)
|
182 |
|
183 |
# Launch the Gradio interface
|
184 |
-
iface.launch()
|
|
|
23 |
collection_name = 'Dataset-10k-companies'
|
24 |
|
25 |
# Uncomment the line below to delete the existing collection if needed
|
26 |
+
chroma_client.delete_collection(name=collection_name)
|
27 |
|
28 |
# Create a new collection in ChromaDB
|
29 |
collection = chroma_client.create_collection(name=collection_name)
|
|
|
181 |
)
|
182 |
|
183 |
# Launch the Gradio interface
|
184 |
+
iface.launch(share=True)
|