Skip to content

Commit

Permalink
Update streamlit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitsathish authored Mar 8, 2022
1 parent 1679c8b commit 63c9bd9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def load_data(data_url):
data['tweet_created'] = pd.to_datetime(data['tweet_created'])
return data

data_url = 'C:/Users/user/Documents/Course Material and Projects/Coursera/Streamlit dashboards/Tweets.csv'
data_url = './Tweets.csv'
data = load_data(data_url)

st.sidebar.subheader('Random Tweet')
Expand Down Expand Up @@ -76,4 +76,4 @@ def load_data(data_url):
plt.imshow(wordcloud)
plt.xticks([])
plt.yticks([])
st.pyplot(fig)
st.pyplot(fig)

0 comments on commit 63c9bd9

Please sign in to comment.