Nikhil0987 commited on
Commit
ce3d979
·
verified ·
1 Parent(s): f92fabd

Update home.py

Browse files
Files changed (1) hide show
  1. home.py +2 -1
home.py CHANGED
@@ -26,7 +26,7 @@ def visual_qna():
26
  img = load_image()
27
  if img:
28
  if query := st.chat_input("Enter your message"):
29
- response = visualqna(question=query, image=img)
30
  with st.chat_message("assistant"):
31
  st.write(response)
32
  else:
@@ -39,6 +39,7 @@ def homepage():
39
  st.subheader("Welcome to the Home Page")
40
 
41
  def Chat():
 
42
  # st.title("Dashboard")
43
  # st.header("Dashboard")
44
 
 
26
  img = load_image()
27
  if img:
28
  if query := st.chat_input("Enter your message"):
29
+ response = visuailqna(question=query, image=img)
30
  with st.chat_message("assistant"):
31
  st.write(response)
32
  else:
 
39
  st.subheader("Welcome to the Home Page")
40
 
41
  def Chat():
42
+ st.title("Chat")
43
  # st.title("Dashboard")
44
  # st.header("Dashboard")
45