seonglae commited on
Commit
068bab1
1 Parent(s): 75148a1

fix: environment variable member changed

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.env['MILVUS_PW'],
33
- uri=f"http://{os.env['MILVUS_HOST']}:19530", db_name='psgs_w100')
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