Spaces:
Sleeping
Sleeping
File size: 240 Bytes
818a838 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
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)
|