Spaces:
Sleeping
Sleeping
import os | |
from dotenv import load_dotenv | |
import redis | |
REDIS_CONNECTION = redis.Redis( | |
host="redis-13875.c240.us-east-1-3.ec2.redns.redis-cloud.com", | |
port=13875, | |
password="CWkHBok23bakpa9lRif3nGSk6y0baVPu", | |
ssl=False # Enable SSL for the connection | |
) | |
# IP_WEB_SERVER = "https://f564-196-65-150-53.ngrok-free.app" | |
# IP_MODEL_SERVER = "https://fluffy-mole-81.telebit.io" | |
IP_WEB_SERVER = "https://8bb5-196-65-147-132.ngrok-free.app" | |
IP_MODEL_SERVER = "https://auppqv-ip-196-65-147-132.tunnelmole.net" | |
EMBEDDING_MODELS_API = IP_MODEL_SERVER+"/models_&_sizes" | |
SERVICES_API = IP_WEB_SERVER+"/services/" | |
ADD_SERVICES_API = IP_WEB_SERVER+"/add_services" | |
CHUNK_STORE_API = IP_WEB_SERVER+"/chunk_and_store" | |
SEARCH_API = IP_WEB_SERVER+"/search" | |
DOCUMENT_API = IP_WEB_SERVER+"/documents" | |
REMOVE_DOCUMENT_API = IP_WEB_SERVER+"/remove_documents" | |
REMOVE_SERVICE_API = IP_WEB_SERVER+"/remove_service" | |
CHAT_API = IP_MODEL_SERVER+"/chat" |