Spaces:
Running
Running
fix bug
Browse files
app.py
CHANGED
@@ -239,8 +239,8 @@ def main():
|
|
239 |
message(st.session_state["generated"][i], key=str(i), logo= "https://emojiisland.com/cdn/shop/products/Robot_Emoji_Icon_7070a254-26f7-4a54-8131-560e38e34c2e_large.png?v=1571606114")
|
240 |
|
241 |
# Add Google icon button to retrieve links
|
242 |
-
if st.button(f"Double-Check Response", key=
|
243 |
-
search_query = get_search_query(st.session_state['generated'][
|
244 |
retrieved_links = search_url(search_query)
|
245 |
if retrieved_links:
|
246 |
st.markdown("**Google Search Results:**")
|
|
|
239 |
message(st.session_state["generated"][i], key=str(i), logo= "https://emojiisland.com/cdn/shop/products/Robot_Emoji_Icon_7070a254-26f7-4a54-8131-560e38e34c2e_large.png?v=1571606114")
|
240 |
|
241 |
# Add Google icon button to retrieve links
|
242 |
+
if st.button(f"Double-Check Response", key="google_button"):
|
243 |
+
search_query = get_search_query(st.session_state['generated'][-1])
|
244 |
retrieved_links = search_url(search_query)
|
245 |
if retrieved_links:
|
246 |
st.markdown("**Google Search Results:**")
|