diff --git a/README.md b/README.md index ebd7bca0..912ee792 100644 --- a/README.md +++ b/README.md @@ -42,10 +42,26 @@ Experience it on the [OpenXLab Application Center](https://openxlab.org.cn/apps/ python webui/app.py ``` -![ui](resources/images/interface.jpg) +![ui](https://github.com/user-attachments/assets/3024e9bc-5d45-45f8-a4e6-b57bd2350d84) ### Run from PyPI +1. Install GraphGen + ```bash + pip install graphg + ``` + +2. Run in CLI + ```bash + SYNTHESIZER_MODEL=your_synthesizer_model_name \ + SYNTHESIZER_BASE_URL=your_base_url_for_synthesizer_model \ + SYNTHESIZER_API_KEY=your_api_key_for_synthesizer_model \ + TRAINEE_MODEL=your_trainee_model_name \ + TRAINEE_BASE_URL=your_base_url_for_trainee_model \ + TRAINEE_API_KEY=your_api_key_for_trainee_model \ + graphg --output_dir cache + ``` + ### Run from Source 1. Install dependencies diff --git a/setup.py b/setup.py index 7f4bb24e..3dee7f8b 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ def read_requirements(): if __name__ == '__main__': setup( - name='graphgen', + name='graphg', version=get_version(), url='https://github.com/open-sciencelab/GraphGen', description= # noqa E251