aminaj commited on
Commit
5f40164
1 Parent(s): 4ce9cb5

Update pages/Web-chat.py

Browse files
Files changed (1) hide show
  1. pages/Web-chat.py +1 -1
pages/Web-chat.py CHANGED
@@ -57,7 +57,7 @@ if question is not None:
57
  try:
58
  # Send POST request to a FastAPI endpoint to retrieve an answer for the question
59
  data = {"question": question, "resource": resource}
60
- FASTAPI_URL = f"http://localhost:8000/answer_with_chat_history/{llm}"
61
  with st.spinner("Generating response..."):
62
  response = requests.post(FASTAPI_URL, json=data)
63
  # Append the response to the chat history
 
57
  try:
58
  # Send POST request to a FastAPI endpoint to retrieve an answer for the question
59
  data = {"question": question, "resource": resource}
60
+ FASTAPI_URL = f"http://localhost:7860/answer_with_chat_history/{llm}"
61
  with st.spinner("Generating response..."):
62
  response = requests.post(FASTAPI_URL, json=data)
63
  # Append the response to the chat history