Spaces:
Runtime error
Runtime error
title: PoetryChat | |
emoji: 🤗 | |
colorFrom: indigo | |
colorTo: indigo | |
sdk: gradio | |
sdk_version: 3.43.2 | |
app_file: app.py | |
hf_oauth: true | |
pinned: true | |
license: mit | |
<div align="center"><h1>PoetryChat🖼️</h1></div> | |
</div> | |
[![License Apache 2.0](https://img.shields.io/badge/license-mit-blue.svg)](LICENSE) | |
[![python_version](https://img.shields.io/badge/Python-3.10%2B-green.svg)](requirements.txt) | |
<div align="center"><h2>Description</h2></div> | |
  Powered by Large Language Models, PoetryChat ... | |
</div> | |
<div align="center"><h2>Demonstration</h2></div> | |
![诗趣伴行](./docs/诗趣伴行.png) | |
  You can easily and directly experience the our demo online on `HuggingFace` now. Click here for Online Experience 👉 [PoetryChat - a Hugging Face Space by Tsumugii](https://huggingface.co/spaces/Tsumugii/PoetryChat) | |
</div> | |
<div align="center"><h2>Todo</h2></div> | |
- [ ] Complete the Gradio Interface and UI design | |
- [ ] Add team members brief introduction | |
- [ ] Add a gif demonstration | |
- [ ] Deploy the demo on HuggingFace | |
- [ ] RAG layer | |
- [ ] LLM Agent layer | |
- [ ] Application layer | |
</div> | |
<div align="center"><h2>Quick Start</h2></div> | |
<details open> | |
<summary><h4>Installation</h4></summary> | |
  First of all, please make sure that you have already installed `conda` as Python runtime environment. And `miniconda` is strongly recommended. | |
  1. create a virtual `conda` environment for the demo 😆 | |
```bash | |
$ conda create -n poetrychat python==3.10 # poetrychat is the name of your environment | |
$ conda activate poetrychat | |
``` | |
  2. Install essential `requirements` by run the following command in the `CLI` 😊 | |
```bash | |
$ git clone https://github.com/Antony-Zhang/PoetryChat && cd PoetryChat && git checkout poetryChat2.0 | |
$ pip install -r requirements.txt | |
``` | |
<details open> | |
<summary><h4>Preparation</h4></summary> | |
  1. open `.env.example` and fill your own `API Keys` in the **corresponding place** if you want to use certain LLM, then **rename** the file into `.env` | |
``` | |
OPENAI_API_KEY = "" | |
OPENAI_URL_BASE = "" | |
``` | |
  2. xxx | |
</div> | |
<div align="center"><h2>References</h2></div> | |
1. [Gradio Official Documents](https://www.gradio.app/) | |
2. [LIC·2024 语言与智能技术竞赛_飞桨大赛-飞桨AI Studio星河社区](https://aistudio.baidu.com/competition/detail/1171/0/introduction) | |
3. [PoetryChat: 一个面向不同年龄段的交互式LLM古诗学习助手](https://github.com/Antony-Zhang/PoetryChat) | |
4. [Tsumugii24/WonderWhy (github.com)](https://github.com/Tsumugii24/WonderWhy) | |
</div> | |
<div align="center"><h2>Acknowledgements</h2></div> | |
  ***I would like to express my sincere gratitude to my teammates for their efforts and supports throughout the development of this project. Their expertise and insightful feedback played a crucial role in shaping the direction of the project.*** | |
- 姜舒凡 [@Tsumugii24](https://github.com/Tsumugii24) | |
- 朱嘉辉 [@jiaohui](https://github.com/jiaohuix) | |
- 陈思州 [@jjyaoao](https://github.com/jjyaoao) | |
</div> | |
<div align="center"><h2>Contact</h2></div> | |
Feel free to open GitHub issues or directly send me a mail if you have any questions about this project. | |