mod page title and icon
This commit is contained in:
@ -46,8 +46,11 @@ class TranslatorApp:
|
||||
|
||||
def run(self) -> None:
|
||||
""" Run the Streamlit app """
|
||||
|
||||
st.title(body='跨過語言的黑水溝')
|
||||
st.set_page_config(
|
||||
page_title=self._config['app']['page_title'],
|
||||
page_icon=self._config['app']['page_favicon_path'],
|
||||
)
|
||||
st.title(body=self._config['app']['page_title'])
|
||||
direction = st.radio(
|
||||
label='Direction',
|
||||
options=list(self._lang_directions.keys()),
|
||||
|
BIN
translator/assets/favicon.png
Normal file
BIN
translator/assets/favicon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.6 KiB |
@ -1,4 +1,6 @@
|
||||
app:
|
||||
page_title: 跨過語言的黑水溝
|
||||
page_favicon_path: ./assets/favicon.png
|
||||
ollama_url: http://localhost:11434
|
||||
ollama_model_name: gemma3:12b-it-qat
|
||||
ollama_max_tokens: 256
|
||||
|
Reference in New Issue
Block a user