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

Update pages/Image-scan.py

Browse files
Files changed (1) hide show
  1. pages/Image-scan.py +1 -1
pages/Image-scan.py CHANGED
@@ -51,7 +51,7 @@ if "temp_img_path" in st.session_state and st.session_state['uploaded_image'] ==
51
 
52
  try:
53
  # Send POST request to a FastAPI endpoint with temporary image path
54
- FASTAPI_URL = f"http://localhost:8000/image/{llm}"
55
  with st.spinner("Interpreting image..."):
56
  response = requests.post(FASTAPI_URL, json={"image_path": temp_img_path})
57
  # Append the image and response to the chat history
 
51
 
52
  try:
53
  # Send POST request to a FastAPI endpoint with temporary image path
54
+ FASTAPI_URL = f"http://localhost:7860/image/{llm}"
55
  with st.spinner("Interpreting image..."):
56
  response = requests.post(FASTAPI_URL, json={"image_path": temp_img_path})
57
  # Append the image and response to the chat history