File size: 2,170 Bytes
4545835
 
42e2913
4545835
 
 
 
42e2913
4545835
 
42e2913
4545835
 
 
 
42e2913
4545835
 
42e2913
 
 
 
4545835
 
 
 
 
 
 
 
42e2913
4545835
 
42e2913
4545835
 
 
 
 
 
42e2913
 
4545835
 
 
 
42e2913
4545835
 
 
 
 
42e2913
4545835
 
 
 
42e2913
 
4545835
42e2913
 
 
 
 
 
 
 
 
 
9a57b0d
42e2913
 
 
 
 
 
4545835
 
42e2913
4545835
42e2913
4545835
 
42e2913
4545835
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import marimo

__generated_with = "0.10.7"
app = marimo.App()


@app.cell
def _():
    import marimo as mo

    mo.md("# Ai for U")
    return (mo,)


@app.cell(hide_code=True)
def _(mo):
    mo.accordion(
        {
            "联系我或加群交流:": mo.md(
                rf"""        
            - [企微](https://qr61.cn/oohivs/qRp62U6)
            - [Discord](https://discord.gg/3JWMgKQznF)
            """
            )
        }
    )
    return


@app.cell(hide_code=True)
def _(mo):
    mo.md(
        """
        ### 【ai来事】 Aitools 一键安装说明
        """
    ).callout()
    return


@app.cell(hide_code=True)
def _(mo):
    mo.md("""**安装前请阅读说明** 也可以参考视频教程进行。""")
    return


@app.cell
def _(mo, tips):
    mo.accordion(tips)
    return


@app.cell(hide_code=True)
def _(mo):
    mo.md("""## Finally, a fun fact""")
    return


@app.cell
def _():
    tips = {
        "【SD webUI Forge一键安装脚本】": (
            """
            **Stable Diffusion WebUI Forge**

            - _最热门_ 的生图 webUI。除了SD还支持Flux,相对comfyui简单易用,功能也很强大。
            - 使用前提条件:符合的算力平台(比如cloudstudio)、购买获取到安装文件(一般在视频下方)。
            - 适合人群:小白及以上水平皆可一键安装。
            - 如何 `一键安装`:
                - 图形界面方法:请查看 `视频教程`:
                ```bash
                deactivate && apt-get update && apt-get install -y curl; bash -c "$(curl -fsSL https://gitee.com/fuliai/ai2u/raw/main/ai2u.sh)" - sd-webui-forge-ics
                ```
                - 命令行:
                ```bash
                pip install marimo -i https://mirrors.cloud.tencent.com/pypi/simple && python apps/sd-webui-forge-ics.py
                ```
            - 安装完成后请看程序生成的说明文件来启动使用程序
            """
        ),
        "其它": (
            """
            开发中……
            """
        ),
        
    }
    return (tips,)


if __name__ == "__main__":
    app.run()