release 1.0.0
- bump python-version to 3.14 - bump streamlit to 1.52.2 - bump numpy to 2.4.0 - extra-script for generating special-wb's - rework of container to use a python-virtual-environment and create the special-wb's at first start of the container (no longer at first web-request) - adding links to source-code and docker-registry's in welcome-message - some more error-handling for ADFG(V)X
This commit is contained in:
10
app/app.py
10
app/app.py
@@ -7,11 +7,16 @@ import matplotlib.pyplot as plt
|
||||
import helper
|
||||
|
||||
standard_output = ('#### Um den HILFE-Text zu einzelnen Funktionen aufzurufen bitte die Funktion mit leerem'
|
||||
' Eingabefeld aufrufen.')
|
||||
' Eingabefeld aufrufen.\n'
|
||||
'__Diese APP ist OpenSource:__ \n'
|
||||
'- Sourcecode: https://gitea.tebarius.duckdns.org/tebarius/Mysteryhelfer-web\n'
|
||||
'- Docker-Images sind verfügbar via:\n'
|
||||
' - https://hub.docker.com/r/tebarius/mysteryhelfer\n'
|
||||
' - https://gitea.tebarius.duckdns.org/tebarius/-/packages/container/mysteryhelfer/latest')
|
||||
|
||||
st.set_page_config(
|
||||
# we do also patching static-files of streamlit in the docker-container so bookmarks will have
|
||||
# the same favicon and if posting links for example in whatsapp they will have the same title
|
||||
# the same favicon and if posting links for example in WhatsApp they will have the same title
|
||||
page_title="tebarius Mysteryhelfer (web)",
|
||||
page_icon="images/favicon.ico",
|
||||
layout="wide",
|
||||
@@ -224,7 +229,6 @@ if 'input_text' not in st.session_state:
|
||||
st.session_state.input_text = ""
|
||||
if 'output_text' not in st.session_state:
|
||||
st.session_state.output_text = standard_output
|
||||
st.session_state.output_text += helper.generate_special_files()
|
||||
if 'map_data' not in st.session_state:
|
||||
st.session_state.map_data = None
|
||||
if 'graph_data' not in st.session_state:
|
||||
|
||||
Reference in New Issue
Block a user