Abhaykoul commited on
Commit
3d07c07
1 Parent(s): b4cce5f

Update app.py

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