Spaces:
Running
Running
port
Browse files
README.md
CHANGED
@@ -4,6 +4,7 @@ emoji: π
|
|
4 |
colorFrom: pink
|
5 |
colorTo: gray
|
6 |
sdk: docker
|
|
|
7 |
pinned: false
|
8 |
---
|
9 |
## How to Chat with a Website Using WatsonX
|
|
|
4 |
colorFrom: pink
|
5 |
colorTo: gray
|
6 |
sdk: docker
|
7 |
+
app_port: 8501
|
8 |
pinned: false
|
9 |
---
|
10 |
## How to Chat with a Website Using WatsonX
|
app.py
CHANGED
@@ -39,8 +39,6 @@ def main():
|
|
39 |
st.markdown("<hr>", unsafe_allow_html=True)
|
40 |
st.subheader("Response")
|
41 |
collection_name="base"
|
42 |
-
## Cleaning Vector Database
|
43 |
-
#utils.clear_collection(collection_name)
|
44 |
if globals()["api_key"] and globals()["watsonx_project_id"]:
|
45 |
# Provide a unique name for this website (lower case). Use the same name for the same URL to avoid loading data multiple times.
|
46 |
#collection_name = utils.create_collection_name(user_url)
|
|
|
39 |
st.markdown("<hr>", unsafe_allow_html=True)
|
40 |
st.subheader("Response")
|
41 |
collection_name="base"
|
|
|
|
|
42 |
if globals()["api_key"] and globals()["watsonx_project_id"]:
|
43 |
# Provide a unique name for this website (lower case). Use the same name for the same URL to avoid loading data multiple times.
|
44 |
#collection_name = utils.create_collection_name(user_url)
|