Merge pull request #290 from xdedss/add-local-checkpoint

fix typo
This commit is contained in:
YuriHead 2023-07-12 22:09:12 +08:00 committed by GitHub
commit 06da30b2e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,3 +1,4 @@
import glob
import json import json
import logging import logging
import os import os
@ -5,7 +6,6 @@ import re
import subprocess import subprocess
import time import time
import traceback import traceback
import glob
from itertools import chain from itertools import chain
from pathlib import Path from pathlib import Path
@ -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.Markdown(f'模型应当放置于f{local_model_root}文件夹下') gr.Markdown(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():