Giter Club home page Giter Club logo

cyber_cp's Introduction

title emoji colorFrom colorTo sdk sdk_version app_file pinned
Cyber CP Demo Application
🤖
blue
yellow
gradio
4.31.1
app.py
false

Cyber CP Demo 应用

这是一个使用Gradio库创建的简单应用,用于计算两个名字的CP值(兼容性得分)和生成基于名字性格特点的故事提示。

项目依赖

本项目依赖于gradiohashlib库。项目依赖项已在requirements.txt文件中列出。安装依赖项的步骤如下:

  1. 确保已经安装了Python环境。
  2. 克隆本项目到本地,或者下载并解压项目压缩包。
  3. 在项目根目录下,运行以下命令来安装依赖项:
    pip install -r requirements.txt
    

启动应用

要启动应用,请在项目根目录下执行以下命令:

python app.py

这将启动一个本地服务器,通常你可以在浏览器中通过访问 http://localhost:7860 来查看应用界面。

使用说明

  1. 在应用界面中,输入两个名字(A和B)。
  2. 点击“计算cp值”按钮,将计算并显示两个名字的哈希值和CP值。
  3. 点击“生成故事Prompt”按钮,将根据两个名字生成一个故事提示。
  4. 复制生成的故事提示,并可以将其交给Kimi生成故事。

注意事项

  • 确保在运行应用之前已经安装了所有必需的依赖项。
  • 如果在运行过程中遇到任何问题,请检查Python环境和依赖项是否正确安装。

希望您喜欢使用Cyber CP Demo应用!

cyber_cp's People

Contributors

senzi avatar

Stargazers

 avatar

Watchers

 avatar

cyber_cp's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.