Spaces:
Sleeping
Sleeping
import streamlit as st | |
import wna_googlenews as wna | |
st.title("WNA Google News App") | |
st.subheader("Search for News") | |
query = st.text_input("Enter Query") | |
if st.button("Search"): | |
df = wna.get_news("en", "us", query) | |
st.dataframe(df) | |