Spaces:
Sleeping
Sleeping
Nikhil0987
commited on
Commit
•
f33c2bf
1
Parent(s):
2739240
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 = visualqna(question=query, image=img)
|
31 |
with st.chat_message("assistant"):
|
32 |
st.write(response)
|
33 |
else:
|