Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,6 @@ def chat(message, history):
|
|
16 |
print(message)
|
17 |
history = history or []
|
18 |
endpoint = os.environ.get("langchain_bot_api_endpoint")
|
19 |
-
# endpoint = "https://clerkie-langchain-server-bot.ishaan-jaff.repl.co/langchain_agent?user_query="
|
20 |
user_query = endpoint + message
|
21 |
print("user_query: ", user_query)
|
22 |
response = requests.get(user_query).json()["response"]["output"]
|
|
|
16 |
print(message)
|
17 |
history = history or []
|
18 |
endpoint = os.environ.get("langchain_bot_api_endpoint")
|
|
|
19 |
user_query = endpoint + message
|
20 |
print("user_query: ", user_query)
|
21 |
response = requests.get(user_query).json()["response"]["output"]
|