General SOP for common requests related to gr, gradio, file.
Scanned 5/30/2026
Install via CLI
openskills install gabrielmoreira/agent-skills-mirror---
id: "ddf628cf-5f3f-41ae-a278-4322e07edabe"
name: "gr / gradio / file"
description: "General SOP for common requests related to gr, gradio, file."
version: "0.1.0"
tags:
- "gr"
- "gradio"
- "file"
triggers:
- "Use when the user asks for a process or checklist."
- "Use when you want to reuse a previously mentioned method/SOP."
examples:
- input: "Break this into best-practice, executable steps."
---
# 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>):
1) bash
2) pip install gradio
3) 2. 接着,写一个 Python 脚本来创建你的问答界面。下面是创建所需界面的代码
4) python
5) import gradio as gr
6) 这个函数将会处理用户的问题,并且可以返回一个答案
7) 简单起见,这里的函数会将用户输入原样返回
8) 实际应用中,可以将其连接到一个更复杂的问答系统或模型
9) def answer_question(question
10) 处理问题并返回答案的地方
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.
No comments yet. Be the first to comment!