Spaces:
Build error
Build error
added text
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ def free_test_init_state_variables():
|
|
| 146 |
st.title('RE:Belle')
|
| 147 |
st.markdown(
|
| 148 |
"""
|
| 149 |
-
|
| 150 |
""")
|
| 151 |
st.selectbox(
|
| 152 |
'input method',
|
|
@@ -156,7 +156,7 @@ st.selectbox(
|
|
| 156 |
def show_wiki_hub_page():
|
| 157 |
st.sidebar.markdown(
|
| 158 |
"""
|
| 159 |
-
|
| 160 |
- Enter wikipedia search terms, separated by comma's
|
| 161 |
- Choose one or more of the suggested topics (max. 5)
|
| 162 |
- Click generate!
|
|
@@ -190,7 +190,7 @@ def show_wiki_hub_page():
|
|
| 190 |
st.button("Generate", on_click=wiki_generate_graph, key="gen_graph")
|
| 191 |
st.sidebar.markdown(
|
| 192 |
"""
|
| 193 |
-
|
| 194 |
- Click a button below the graph to expand that node
|
| 195 |
(Only nodes that have wiki pages will be expanded)
|
| 196 |
- Hit the Generate button again to expand your graph!
|
|
@@ -212,7 +212,7 @@ def show_wiki_hub_page():
|
|
| 212 |
def show_free_text_hub_page():
|
| 213 |
st.sidebar.markdown(
|
| 214 |
"""
|
| 215 |
-
|
| 216 |
- Enter a text you'd like to see as a graph.
|
| 217 |
- Click generate!
|
| 218 |
"""
|
|
@@ -235,7 +235,7 @@ else:
|
|
| 235 |
|
| 236 |
st.sidebar.markdown(
|
| 237 |
"""
|
| 238 |
-
|
| 239 |
|
| 240 |
This space shows how a transformer network can be used to convert *human* text into a computer-queryable format: a **knowledge graph**. Knowledge graphs are graphs where each node (or *vertex* if you're fancy) represent a concept/person/thing and each edge the link between those concepts. If you'd like to know more, you can read [this blogpost](https://www.ml6.eu/knowhow/knowledge-graphs-an-introduction-and-business-applications).
|
| 241 |
|
|
|
|
| 146 |
st.title('RE:Belle')
|
| 147 |
st.markdown(
|
| 148 |
"""
|
| 149 |
+
# Building Beautiful Knowledge Graphs With REBEL
|
| 150 |
""")
|
| 151 |
st.selectbox(
|
| 152 |
'input method',
|
|
|
|
| 156 |
def show_wiki_hub_page():
|
| 157 |
st.sidebar.markdown(
|
| 158 |
"""
|
| 159 |
+
## How To Create a Graph:
|
| 160 |
- Enter wikipedia search terms, separated by comma's
|
| 161 |
- Choose one or more of the suggested topics (max. 5)
|
| 162 |
- Click generate!
|
|
|
|
| 190 |
st.button("Generate", on_click=wiki_generate_graph, key="gen_graph")
|
| 191 |
st.sidebar.markdown(
|
| 192 |
"""
|
| 193 |
+
## How to expand the graph
|
| 194 |
- Click a button below the graph to expand that node
|
| 195 |
(Only nodes that have wiki pages will be expanded)
|
| 196 |
- Hit the Generate button again to expand your graph!
|
|
|
|
| 212 |
def show_free_text_hub_page():
|
| 213 |
st.sidebar.markdown(
|
| 214 |
"""
|
| 215 |
+
## How To Create a Graph:
|
| 216 |
- Enter a text you'd like to see as a graph.
|
| 217 |
- Click generate!
|
| 218 |
"""
|
|
|
|
| 235 |
|
| 236 |
st.sidebar.markdown(
|
| 237 |
"""
|
| 238 |
+
## What This Is And Why We Built it
|
| 239 |
|
| 240 |
This space shows how a transformer network can be used to convert *human* text into a computer-queryable format: a **knowledge graph**. Knowledge graphs are graphs where each node (or *vertex* if you're fancy) represent a concept/person/thing and each edge the link between those concepts. If you'd like to know more, you can read [this blogpost](https://www.ml6.eu/knowhow/knowledge-graphs-an-introduction-and-business-applications).
|
| 241 |
|