khaerens commited on
Commit
68a0312
·
1 Parent(s): baa6b34
Files changed (1) hide show
  1. app.py +2 -12
app.py CHANGED
@@ -148,14 +148,12 @@ def show_wiki_hub_page():
148
  st.sidebar.markdown(
149
  """
150
  # How to expand the graph
151
- - Click a button on the right to expand that node
152
- - Only nodes that have wiki pages will be expanded
153
  - Hit the Generate button again to expand your graph!
154
  """
155
  )
156
  if st.session_state['has_run']:
157
-
158
-
159
  HtmlFile = open(st.session_state["GRAPH_FILENAME"], 'r', encoding='utf-8')
160
  source_code = HtmlFile.read()
161
  components.html(source_code, width=720, height=600)
@@ -177,14 +175,6 @@ def show_free_text_hub_page():
177
  - Enter a text you'd like to see as a graph.
178
  - Click generate!
179
  """
180
- )
181
- st.sidebar.markdown(
182
- """
183
- # How to expand the graph
184
- - Click a button on the right to expand that node
185
- - Only nodes that have wiki pages will be expanded
186
- - Hit the Generate button again to expand your graph!
187
- """
188
  )
189
 
190
  st.sidebar.button("Reset", key="reset_key")
 
148
  st.sidebar.markdown(
149
  """
150
  # How to expand the graph
151
+ - Click a button bellow the graph to expand that node
152
+ (Only nodes that have wiki pages will be expanded)
153
  - Hit the Generate button again to expand your graph!
154
  """
155
  )
156
  if st.session_state['has_run']:
 
 
157
  HtmlFile = open(st.session_state["GRAPH_FILENAME"], 'r', encoding='utf-8')
158
  source_code = HtmlFile.read()
159
  components.html(source_code, width=720, height=600)
 
175
  - Enter a text you'd like to see as a graph.
176
  - Click generate!
177
  """
 
 
 
 
 
 
 
 
178
  )
179
 
180
  st.sidebar.button("Reset", key="reset_key")