Spaces:
Sleeping
Sleeping
Update home.py
Browse files
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 =
|
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 |
|