Sayoyo commited on
Commit
12e2f49
·
1 Parent(s): ad7cf03

update About.md

Browse files
Files changed (2) hide show
  1. About.md +19 -1
  2. app.py +1 -1
About.md CHANGED
@@ -1 +1,19 @@
1
- # Skill Library Hub
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ ## Submit Skill
4
+
5
+ 1. Switch to the Tab of **Submit here!**
6
+ 2. Enter the repo id of your skill-library space, such as "timedomain/skill-library".
7
+ 3. Enter the skill name and press the Enter key. You can enter multiple skill names. Press the Enter key each time to confirm.
8
+ 4. Click Submit to submit.
9
+
10
+
11
+
12
+ ## 提交技能
13
+
14
+ 1. 切换到 **Submit here!** 的选项卡。
15
+
16
+ 2. 输入你的skill-library space的repo id,比如"timedomain/skill-library"。
17
+ 3. 输入skill name,按下回车键确认。可以输入多个skill name,每次都要按下回车键确认。
18
+ 4. 点击Submit提交。
19
+
app.py CHANGED
@@ -107,7 +107,7 @@ def main_page():
107
  with st.expander(f"{skill.author}/{skill.skill_name}", expanded=True):
108
  tags = "`{}`".format("`\t\t`".join(skill.skill_tags))
109
  st.markdown(f"{tags}")
110
- st.markdown(f"**<a href='https://huggingface.co/spaces/{skill.repo_id}?page=detail_page&skill_name={skill.skill_name}' style='font-size: 22px;' target='_self'>{skill.author}/{skill.skill_name}</a>**", unsafe_allow_html=True)
111
  st.markdown(f">**{skill.skill_description}**")
112
  st.markdown("Install:")
113
  install = f"import creator\ncreator.create(huggingface_repo_id=\"{skill.repo_id}\", huggingface_skill_path=\"{skill.skill_name}\")"
 
107
  with st.expander(f"{skill.author}/{skill.skill_name}", expanded=True):
108
  tags = "`{}`".format("`\t\t`".join(skill.skill_tags))
109
  st.markdown(f"{tags}")
110
+ st.markdown(f"**<a href='https://huggingface.co/spaces/{skill.repo_id}?page=detail_page&skill_name={skill.skill_name}' style='font-size: 22px;' >{skill.author}/{skill.skill_name}</a>**", unsafe_allow_html=True)
111
  st.markdown(f">**{skill.skill_description}**")
112
  st.markdown("Install:")
113
  install = f"import creator\ncreator.create(huggingface_repo_id=\"{skill.repo_id}\", huggingface_skill_path=\"{skill.skill_name}\")"