Abhaykoul commited on
Commit
6a67f95
1 Parent(s): 73c9db7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ session = requests.Session()
7
 
8
  # Function to interact with the AI
9
  def chat_with_ai(message):
10
- api_url = "https://abhaykoul-webscout1.hf.space/chat"
11
  payload = {"message": message}
12
 
13
  try:
 
7
 
8
  # Function to interact with the AI
9
  def chat_with_ai(message):
10
+ api_url = os.getenv("CHAT_API_URL")
11
  payload = {"message": message}
12
 
13
  try: