Commit
·
20e3a37
1
Parent(s):
4c87f5c
Update app.py
Browse files
app.py
CHANGED
@@ -60,8 +60,8 @@ with gr.Blocks() as demo:
|
|
60 |
|
61 |
### Then deploy to discord in one line! ⚡️
|
62 |
```python
|
63 |
-
|
64 |
-
|
65 |
```
|
66 |
""")
|
67 |
with gr.Accordion(label="Inference Endpoints", open=False):
|
|
|
60 |
|
61 |
### Then deploy to discord in one line! ⚡️
|
62 |
```python
|
63 |
+
secrets = {"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}
|
64 |
+
grc.Client.duplicate("gradio-discord-bots/falcon-7b-instruct", private=False, secrets=secrets).deploy_discord(api_names=["chat"])
|
65 |
```
|
66 |
""")
|
67 |
with gr.Accordion(label="Inference Endpoints", open=False):
|