freddyaboulton HF staff commited on
Commit
82d43cd
1 Parent(s): f1cc404

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ with gr.Blocks() as demo:
62
 
63
  ```python
64
  secrets = {"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}
65
- client = grc.Client.duplicate("gradio-discord-bots/falcon-7b-instruct", private=False, secrets=secrets)
66
  client.deploy_discord(api_names=["chat"])
67
  """)
68
  with gr.Accordion(label="Inference Endpoints", open=False):
 
62
 
63
  ```python
64
  secrets = {"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}
65
+ client = grc.Client.duplicate("gradio-discord-bots/falcon-7b-instruct", private=False, secrets=secrets, sleep_timeout=2880)
66
  client.deploy_discord(api_names=["chat"])
67
  """)
68
  with gr.Accordion(label="Inference Endpoints", open=False):