Spaces:
Runtime error
Runtime error
Fix build error
#10
by
zhihuang
- opened
- requirements.txt +0 -1
- text2image.py +2 -2
requirements.txt
CHANGED
@@ -8,4 +8,3 @@ streamlit==1.19.0
|
|
8 |
st_clickable_images
|
9 |
plotly
|
10 |
datetime
|
11 |
-
base64
|
|
|
8 |
st_clickable_images
|
9 |
plotly
|
10 |
datetime
|
|
text2image.py
CHANGED
@@ -166,8 +166,8 @@ def app():
|
|
166 |
# Display results
|
167 |
############################################################
|
168 |
|
169 |
-
text = 'Your input query: <span style="background-color: rgb(230,230,230);"><b>%s</b></span>' % query + \
|
170 |
-
' (Try search it directly on [Twitter](https://twitter.com/search?q=%s&src=typed_query) or [Google](https://www.google.com/search?q=%s))' % (query.replace(' ', '%20'), query.replace(' ', '+'))
|
171 |
st.markdown(text, unsafe_allow_html=True)
|
172 |
|
173 |
st.markdown('#### Top 5 results:')
|
|
|
166 |
# Display results
|
167 |
############################################################
|
168 |
|
169 |
+
text = '<font size="4">Your input query: <span style="background-color: rgb(230,230,230);"><b>%s</b></span>' % query + \
|
170 |
+
' (Try search it directly on [Twitter](https://twitter.com/search?q=%s&src=typed_query) or [Google](https://www.google.com/search?q=%s))</font>' % (query.replace(' ', '%20'), query.replace(' ', '+'))
|
171 |
st.markdown(text, unsafe_allow_html=True)
|
172 |
|
173 |
st.markdown('#### Top 5 results:')
|