mirror of
https://github.com/OpenBMB/ChatDev.git
synced 2024-12-26 05:15:03 +03:00
.. | ||
ChatChainConfig.json | ||
main.py | ||
manual.md | ||
meta.txt | ||
PhaseConfig.json | ||
readme.md | ||
requirements.txt | ||
RoleConfig.json | ||
setup.py | ||
WordCloud_Beijing.png | ||
WordCloud_THUNLP_20231015215721.log | ||
WordCloud.prompt |
Word Cloud Generator
This program generates a word cloud from user input text.
Instructions
- Install the required libraries by running
pip install -r requirements.txt
. - Run the program by executing the
main.py
file. - Enter the desired text in the text entry field.
- Click the "Generate Word Cloud" button to generate the word cloud.
- Choose the output file name and location in the file dialog.
- The word cloud will be saved as a PNG image.
Additional Information
- The word cloud is generated using the WordCloud library.
- The appearance of the word cloud can be customized by modifying the code in the
generate_word_cloud
method of theWordCloudGenerator
class.