Gr gradio file
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/chinese_gpt4_8_GLM4.7/gr-gradio-file
General SOP for common requests related to gr, gradio, file.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill gr-gradio-fileAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.4 KB, 282 tokens by cl100k_base, as published. Nobody here has run it
gr / gradio / file
General SOP for common requests related to gr, gradio, file.
Prompt
Follow this SOP (replace specifics with placeholders like <PROJECT>/<ENV>/<VERSION>):
- bash
- pip install gradio
-
- 接着,写一个 Python 脚本来创建你的问答界面。下面是创建所需界面的代码
- python
- import gradio as gr
- 这个函数将会处理用户的问题,并且可以返回一个答案
- 简单起见,这里的函数会将用户输入原样返回
- 实际应用中,可以将其连接到一个更复杂的问答系统或模型
- def answer_question(question
- 处理问题并返回答案的地方
For each step, include: action, checks, and failure rollback/fallback plan. Output format: for each step number, provide status/result and what to do next.
Triggers
- Use when the user asks for a process or checklist.
- Use when you want to reuse a previously mentioned method/SOP.
Examples
Example 1
Input:
Break this into best-practice, executable steps.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.