Update app.py
Browse files
app.py
CHANGED
@@ -29,10 +29,11 @@ def predict(message):
|
|
29 |
st.write("Requesting API...")
|
30 |
response = bard.get_answer(message)
|
31 |
st.write("Done...")
|
32 |
-
|
33 |
-
st.image(i)
|
34 |
st.write("Checking images...")
|
35 |
-
|
|
|
|
|
36 |
|
37 |
# Streamlit UI
|
38 |
st.title(TITLE)
|
|
|
29 |
st.write("Requesting API...")
|
30 |
response = bard.get_answer(message)
|
31 |
st.write("Done...")
|
32 |
+
|
|
|
33 |
st.write("Checking images...")
|
34 |
+
for i in response['links']:
|
35 |
+
st.image(i)
|
36 |
+
return response['content']
|
37 |
|
38 |
# Streamlit UI
|
39 |
st.title(TITLE)
|