PSE, Nak-Nak, Navajo, PI
and patching favicon.ico and index.html in streamlit-lib
This commit is contained in:
29
app/app.py
29
app/app.py
@@ -7,8 +7,9 @@ standard_output = ('#### Um den HILFE-Text zu einzelnen Funktionen aufzurufen bi
|
||||
' Eingabefeld aufrufen.')
|
||||
|
||||
st.set_page_config(
|
||||
page_title="tebarius Mysteryhelfer (web)",
|
||||
page_icon="./favicon.ico",
|
||||
# we do this by patching static-files of streamlit in the container
|
||||
# page_title="tebarius Mysteryhelfer (web)",
|
||||
# page_icon="./favicon.ico",
|
||||
layout="wide"
|
||||
)
|
||||
|
||||
@@ -144,6 +145,21 @@ def auswahl_verarbeiten():
|
||||
elif auswahl == "Slash and Pipe->Text":
|
||||
st.session_state.output_text = tools.slashpipe_to_text(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "PSE: O.zahl<->Symbol":
|
||||
st.session_state.output_text = tools.periodensystem(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Nak-Nak -> Text":
|
||||
st.session_state.output_text = tools.naknak_to_text(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Navajo -> Text":
|
||||
st.session_state.output_text = tools.navajo_to_text(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "Kreiszahl PI":
|
||||
st.session_state.output_text = tools.pi_suche(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "REPLACE":
|
||||
st.session_state.output_text = tools.REPLACE(text)
|
||||
st.session_state.map_data = None
|
||||
elif auswahl == "REPLACE":
|
||||
st.session_state.output_text = tools.REPLACE(text)
|
||||
st.session_state.map_data = None
|
||||
@@ -212,6 +228,15 @@ option = st.sidebar.radio("hidden_label",
|
||||
"Tomtom->Text",
|
||||
"Text->Slash and Pipe",
|
||||
"Slash and Pipe->Text",
|
||||
"PSE: O.zahl<->Symbol",
|
||||
"Nak-Nak -> Text",
|
||||
"Navajo -> Text",
|
||||
"Kreiszahl PI",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
"",
|
||||
),
|
||||
key='option',
|
||||
|
||||
Reference in New Issue
Block a user