Update streamlit_ui.py (#748)

pull/790/head
xxxxx 2022-10-15 11:44:44 +08:00 committed by GitHub
parent 2a1890f9e1
commit 028b131570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@ import datetime
import inspect
import mimetypes
import sys
from os import getcwd, unlink
from os import getcwd, unlink, path
from platform import system
from tempfile import NamedTemporaryFile
from typing import Any, Callable, Dict, List, Type
@ -845,7 +845,7 @@ def render_streamlit_ui() -> None:
col2.title(title)
col2.markdown("欢迎使用MockingBird Web 2")
image = Image.open('.\\mkgui\\static\\mb.png')
image = Image.open(path.join('mkgui', 'static', 'mb.png'))
col1.image(image)
st.markdown("---")