Spaces:
Sleeping
Sleeping
fix: environment variable member changed
Browse files
app.py
CHANGED
|
@@ -29,8 +29,8 @@ def load_models():
|
|
| 29 |
|
| 30 |
@st.cache_resource
|
| 31 |
def load_client():
|
| 32 |
-
client = MilvusClient(user='resrer', password=os.
|
| 33 |
-
uri=f"http://{os.
|
| 34 |
return client
|
| 35 |
|
| 36 |
|
|
|
|
| 29 |
|
| 30 |
@st.cache_resource
|
| 31 |
def load_client():
|
| 32 |
+
client = MilvusClient(user='resrer', password=os.environ['MILVUS_PW'],
|
| 33 |
+
uri=f"http://{os.environ['MILVUS_HOST']}:19530", db_name='psgs_w100')
|
| 34 |
return client
|
| 35 |
|
| 36 |
|