Spaces:
Sleeping
Sleeping
Nikhil0987
commited on
Update home.py
Browse files
home.py
CHANGED
@@ -27,7 +27,7 @@ def visual_qna():
|
|
27 |
img = load_image()
|
28 |
if img:
|
29 |
if query := st.chat_input("Enter your message"):
|
30 |
-
response =
|
31 |
with st.chat_message("assistant"):
|
32 |
st.write(response)
|
33 |
else:
|
|
|
27 |
img = load_image()
|
28 |
if img:
|
29 |
if query := st.chat_input("Enter your message"):
|
30 |
+
response = visuail_qna(question=query, image=img)
|
31 |
with st.chat_message("assistant"):
|
32 |
st.write(response)
|
33 |
else:
|