freddyaboulton HF staff commited on
Commit
5c4aeca
1 Parent(s): 9d39364

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks() as demo:
43
 
44
  ```python
45
  secrets = {"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}
46
- client = grc.Client.duplicate("gradio-discord-bots/Llama-2-13b-chat-hf", private=False, secrets=secrets)
47
  client.deploy_discord(api_names=["chat"])
48
  ```
49
 
 
43
 
44
  ```python
45
  secrets = {"HF_TOKEN": "<your-key-here>", "INFERENCE_ENDPOINT": "<endpoint-url>"}
46
+ client = grc.Client.duplicate("gradio-discord-bots/Llama-2-13b-chat-hf", private=False, secrets=secrets, sleep_timeout=2880)
47
  client.deploy_discord(api_names=["chat"])
48
  ```
49