change gr.Text to gr.Markdown for better look

This commit is contained in:
xdedss 2023-07-11 22:20:55 +08:00
parent 6f142f1c70
commit 25fa24f12d
1 changed files with 1 additions and 1 deletions

View File

@ -296,7 +296,7 @@ with gr.Blocks(
model_path = gr.File(label="选择模型文件") model_path = gr.File(label="选择模型文件")
config_path = gr.File(label="选择配置文件") config_path = gr.File(label="选择配置文件")
with gr.TabItem('本地') as local_model_tab_local: with gr.TabItem('本地') as local_model_tab_local:
gr.Text(f'模型应当放置于f{local_model_root}文件夹下') gr.Markdown(f'模型应当放置于f{local_model_root}文件夹下')
local_model_refresh_btn = gr.Button('刷新本地模型列表') local_model_refresh_btn = gr.Button('刷新本地模型列表')
local_model_selection = gr.Dropdown(label='选择模型文件夹', choices=[], interactive=True) local_model_selection = gr.Dropdown(label='选择模型文件夹', choices=[], interactive=True)
with gr.Row(): with gr.Row():