Spaces:
Build error
Build error
added text
Browse files
app.py
CHANGED
@@ -154,6 +154,8 @@ st.selectbox(
|
|
154 |
|
155 |
|
156 |
def show_wiki_hub_page():
|
|
|
|
|
157 |
st.sidebar.markdown(
|
158 |
"""
|
159 |
## How To Create a Graph:
|
@@ -162,7 +164,6 @@ def show_wiki_hub_page():
|
|
162 |
- Click generate!
|
163 |
"""
|
164 |
)
|
165 |
-
st.sidebar.button("Reset", on_click=wiki_reset_session, key="reset_key")
|
166 |
cols = st.columns([8, 1])
|
167 |
with cols[0]:
|
168 |
st.text_input("wikipedia search term", on_change=wiki_show_suggestion, key="text", value="the wiki rabbit hole")
|
@@ -210,6 +211,7 @@ def show_wiki_hub_page():
|
|
210 |
st.button(s, on_click=wiki_add_text, args=(s,), key=str(i)+s)
|
211 |
|
212 |
def show_free_text_hub_page():
|
|
|
213 |
st.sidebar.markdown(
|
214 |
"""
|
215 |
## How To Create a Graph:
|
@@ -217,7 +219,6 @@ def show_free_text_hub_page():
|
|
217 |
- Click generate!
|
218 |
"""
|
219 |
)
|
220 |
-
st.sidebar.button("Reset", on_click=free_reset_session, key="free_reset_key")
|
221 |
|
222 |
free_text_layout()
|
223 |
|
|
|
154 |
|
155 |
|
156 |
def show_wiki_hub_page():
|
157 |
+
st.sidebar.button("Reset", on_click=wiki_reset_session, key="reset_key")
|
158 |
+
|
159 |
st.sidebar.markdown(
|
160 |
"""
|
161 |
## How To Create a Graph:
|
|
|
164 |
- Click generate!
|
165 |
"""
|
166 |
)
|
|
|
167 |
cols = st.columns([8, 1])
|
168 |
with cols[0]:
|
169 |
st.text_input("wikipedia search term", on_change=wiki_show_suggestion, key="text", value="the wiki rabbit hole")
|
|
|
211 |
st.button(s, on_click=wiki_add_text, args=(s,), key=str(i)+s)
|
212 |
|
213 |
def show_free_text_hub_page():
|
214 |
+
st.sidebar.button("Reset", on_click=free_reset_session, key="free_reset_key")
|
215 |
st.sidebar.markdown(
|
216 |
"""
|
217 |
## How To Create a Graph:
|
|
|
219 |
- Click generate!
|
220 |
"""
|
221 |
)
|
|
|
222 |
|
223 |
free_text_layout()
|
224 |
|