Spaces:
Paused
Paused
Upload folder using huggingface_hub
Browse files
examples/agent_service/main.py
CHANGED
|
@@ -39,8 +39,9 @@ if os.getenv("AMAP_API_KEY"):
|
|
| 39 |
)
|
| 40 |
|
| 41 |
storage = RedisStorage(
|
| 42 |
-
host="localhost",
|
| 43 |
-
port=6379,
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
vector_store = QdrantStore(location=":memory:")
|
|
|
|
| 39 |
)
|
| 40 |
|
| 41 |
storage = RedisStorage(
|
| 42 |
+
host=os.getenv("REDIS_HOST", "localhost"),
|
| 43 |
+
port=int(os.getenv("REDIS_PORT", "6379")),
|
| 44 |
+
password=os.getenv("REDIS_PASSWORD", None),
|
| 45 |
)
|
| 46 |
|
| 47 |
vector_store = QdrantStore(location=":memory:")
|