Commit
·
4c87f5c
1
Parent(s):
a2e12c6
format
Browse files
app.py
CHANGED
@@ -51,11 +51,14 @@ with gr.Blocks() as demo:
|
|
51 |
# Falcon-7b-instruct Discord Bot Powered by Gradio and Hugging Face Endpoints
|
52 |
|
53 |
Make sure you read the 'Inference Endpoints' section below first! 🦅
|
|
|
|
|
54 |
|
55 |
```bash
|
56 |
pip install gradio_client
|
57 |
```
|
58 |
|
|
|
59 |
```python
|
60 |
grc.Client.duplicate("gradio-discord-bots/falcon-7b-instruct", private=False,
|
61 |
secrets={"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}).deploy_discord()
|
|
|
51 |
# Falcon-7b-instruct Discord Bot Powered by Gradio and Hugging Face Endpoints
|
52 |
|
53 |
Make sure you read the 'Inference Endpoints' section below first! 🦅
|
54 |
+
|
55 |
+
### First install the `gradio_client`
|
56 |
|
57 |
```bash
|
58 |
pip install gradio_client
|
59 |
```
|
60 |
|
61 |
+
### Then deploy to discord in one line! ⚡️
|
62 |
```python
|
63 |
grc.Client.duplicate("gradio-discord-bots/falcon-7b-instruct", private=False,
|
64 |
secrets={"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}).deploy_discord()
|