--- title: Self Chat emoji: 💬 colorFrom: yellow colorTo: purple sdk: gradio sdk_version: 4.39.0 app_file: app.py pinned: false license: apache-2.0 --- An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index). ## 安装问题 直接从源码安装,推理速度较慢,因此加入以下参数。 ```sh pip install git+https://github.com/abetlen/llama-cpp-python.git -C cmake.args="-DGGML_BLAS=ON;-DGGML_BLAS_VENDOR=OpenBLAS" ```