Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

The web UI for word_cloud(text to word cloud picture converter)

License

Notifications You must be signed in to change notification settings

AlionSSS/wordcloud-webui

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

18 Commits

Repository files navigation

wordcloud-webui

The web UI for word_cloud (text to word cloud picture converter)

描述(Description)

  • 功能:利用 word_cloud普通文本 转为 词云图像 文件
  • 可视化:使用 Gradio 将该功能可视化

界面(UI)

image.png

安装(Install)

  • 新建一个虚拟环境(Python 3.9.16),或使用已有的Python环境
    • 例如 $ conda create -n env_name python=3.9
  • 使用 PIP 方式安装
    • $ pip install wordcloud-webui
  • 使用源码方式安装
    • 下载本项目代码
    • 解压项目,进入到项目根目录
      • 安装,执行 $ pip install -e ./ -i "https://pypi.doubanio.com/simple/"
    • 卸载命令 $ pip uninstall wordcloud-webui

启动服务(Start Service)

直接启动

  • 由于安装时已经在当前 Python 环境中安装了 script
  • 所以可以在任意位置直接执行 $ wordcloud-gui,启动 WebUI

使用代码启动

  • 进入到本项目的目录下,执行 $ cd src/wordcloud_webui
  • 二选一
    • 在本地电脑端启动,直接执行 $ python main.py
    • 在服务器端启动,执行 $ nohup python main.py 1>server_run.log 2>&1 &

手动构建(Build)

  • 更新、安装工具
    • $ pip install --upgrade setuptools
    • $ pip install --upgrade build
  • 进入到项目根目录下,执行 $ python -m build
  • 构建完成会在项目 dist 目录下,生成 tar.gz 和 whl 文件
  • 直接使用 PIP 即可安装,如 pip install .\dist\wordcloud_webui-0.1.0-py3-none-any.whl

About

The web UI for word_cloud(text to word cloud picture converter)

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /