aminaj commited on
Commit
3a18c29
1 Parent(s): c7037e3

Update pages/File-chat.py

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