Spaces:
Sleeping
Sleeping
linh-truong
commited on
Commit
•
b2813ce
1
Parent(s):
a65a939
bold question a
Browse files
app.py
CHANGED
@@ -42,8 +42,8 @@ else:
|
|
42 |
|
43 |
if 'image' in st.session_state:
|
44 |
st.image(st.session_state.image)
|
45 |
-
question = st.text_input("Question
|
46 |
if question:
|
47 |
answer = st.session_state.model.inference(st.session_state.image, question)
|
48 |
-
st.write(f"Answer
|
49 |
|
|
|
42 |
|
43 |
if 'image' in st.session_state:
|
44 |
st.image(st.session_state.image)
|
45 |
+
question = st.text_input("**Question:** ", value=st.session_state.question)
|
46 |
if question:
|
47 |
answer = st.session_state.model.inference(st.session_state.image, question)
|
48 |
+
st.write(f"**Answer:** {answer}")
|
49 |
|