DQLiu commited on
Commit
99989f5
1 Parent(s): 51cccd3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +10 -5
app.py CHANGED
@@ -94,17 +94,22 @@ def handle(wisemodel_link, hf_repo_id):
94
  with gr.Blocks() as demo:
95
  gr.Markdown('''
96
 
97
- 这个space可以把已经发布在wisemodel的模型、数据集推送到Huggingface的相应repo。
98
- This space uploads model from WiseModel to Huggingface.
99
 
100
- **请确认您是huggingface上相应repo的创建者,拥有repo的写入的权限,否则会报错!**
101
- **Please make sure that you're the owner of the repo or have permission from the owner to do so!**
 
 
 
 
 
 
 
102
 
103
 
104
  # 如何使用这个空间?
105
  # How to use this Space?
106
 
107
- - 点击右上角settings后面的“…”按钮,选择“Duplicate this Space”创建一个私有的space,同时输入wisemodel的token(公开模型不填写,私有模型必填),以及Huggingface的token,确保有相应repo写入的权限。
108
  - Duplicate this Space and providing WiseModel token (optional) and your read/write HF token (mandatory).
109
 
110
  - 在HF上创建目标repo,这一步是必须的!
 
94
  with gr.Blocks() as demo:
95
  gr.Markdown('''
96
 
 
 
97
 
98
+ # wisemodel-to-HF/推送wisemodel上的模型、数据集等到Huggingface
99
+
100
+ # 这是一个示例Space,实际使用请参考下面说明,先Duplicate一个私有的space
101
+
102
+ - 这个space可以把已经发布在wisemodel的模型、数据集推送到Huggingface的相应repo。
103
+ - This space uploads model from WiseModel to Huggingface.
104
+
105
+ - **请确认您是huggingface上相应repo的创建者,拥有repo的写入的权限,否则会报错!**
106
+ - **Please make sure that you're the owner of the repo or have permission from the owner to do so!**
107
 
108
 
109
  # 如何使用这个空间?
110
  # How to use this Space?
111
 
112
+ - 点击右上角settings后面的“…”按钮,选择“Duplicate this Space”创建一个私有的space,同时输入wisemodel的token(公开模型选填,私有模型必填),以及Huggingface的token(必填),确保有相应repo写入的权限。
113
  - Duplicate this Space and providing WiseModel token (optional) and your read/write HF token (mandatory).
114
 
115
  - 在HF上创建目标repo,这一步是必须的!