Spaces:
Runtime error
Runtime error
Vivian
commited on
Commit
·
76afe9c
1
Parent(s):
ca1549a
update
Browse files- app.py +4 -0
- markdown/hashtag.png +0 -0
app.py
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
import streamlit as st
|
|
|
|
|
|
|
| 2 |
|
| 3 |
st.set_page_config(layout='wide',
|
| 4 |
page_title='Twitter Hashtag Recommender',
|
|
@@ -16,6 +18,8 @@ def read_md(file_path):
|
|
| 16 |
|
| 17 |
|
| 18 |
def main():
|
|
|
|
|
|
|
| 19 |
st.title('Twitter Hashtag Recommender')
|
| 20 |
overview = read_md('markdown/overview.md')
|
| 21 |
st.markdown(overview)
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
+
from PIL import Image
|
| 3 |
+
|
| 4 |
|
| 5 |
st.set_page_config(layout='wide',
|
| 6 |
page_title='Twitter Hashtag Recommender',
|
|
|
|
| 18 |
|
| 19 |
|
| 20 |
def main():
|
| 21 |
+
image = Image.open('markdown/hashtag.png')
|
| 22 |
+
st.image(image, caption='Sunrise by the mountains')
|
| 23 |
st.title('Twitter Hashtag Recommender')
|
| 24 |
overview = read_md('markdown/overview.md')
|
| 25 |
st.markdown(overview)
|
markdown/hashtag.png
ADDED
|