Spaces:
Runtime error
Runtime error
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +9 -1
src/streamlit_app.py
CHANGED
|
@@ -76,7 +76,11 @@ For any errors or inquiries, please contact us at info@nlpblogs.com''')
|
|
| 76 |
with st.sidebar:
|
| 77 |
st.write("Use the following code to embed the AcademiaMiner web app on your website. Feel free to adjust the width and height values to fit your page.")
|
| 78 |
code = '''
|
| 79 |
-
<iframe
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
></iframe>
|
| 81 |
'''
|
| 82 |
st.code(code, language="html")
|
|
@@ -161,9 +165,13 @@ if st.button("Results"):
|
|
| 161 |
with st.expander("See Glossary of tags"):
|
| 162 |
st.write('''
|
| 163 |
**word**: ['keyphrase extracted from your text data']
|
|
|
|
| 164 |
**score**: ['accuracy score; how accurately a tag has been assigned']
|
|
|
|
| 165 |
**label**: ['label (tag) assigned to a given extracted keyphrase']
|
|
|
|
| 166 |
**start**: ['index of the start of the corresponding entity']
|
|
|
|
| 167 |
**end**: ['index of the end of the corresponding entity']
|
| 168 |
''')
|
| 169 |
# --- Most Frequent Keyphrases ---
|
|
|
|
| 76 |
with st.sidebar:
|
| 77 |
st.write("Use the following code to embed the AcademiaMiner web app on your website. Feel free to adjust the width and height values to fit your page.")
|
| 78 |
code = '''
|
| 79 |
+
<iframe
|
| 80 |
+
src="https://aiecosystem-academiaminer.hf.space"
|
| 81 |
+
frameborder="0"
|
| 82 |
+
width="850"
|
| 83 |
+
height="450"
|
| 84 |
></iframe>
|
| 85 |
'''
|
| 86 |
st.code(code, language="html")
|
|
|
|
| 165 |
with st.expander("See Glossary of tags"):
|
| 166 |
st.write('''
|
| 167 |
**word**: ['keyphrase extracted from your text data']
|
| 168 |
+
|
| 169 |
**score**: ['accuracy score; how accurately a tag has been assigned']
|
| 170 |
+
|
| 171 |
**label**: ['label (tag) assigned to a given extracted keyphrase']
|
| 172 |
+
|
| 173 |
**start**: ['index of the start of the corresponding entity']
|
| 174 |
+
|
| 175 |
**end**: ['index of the end of the corresponding entity']
|
| 176 |
''')
|
| 177 |
# --- Most Frequent Keyphrases ---
|