freddyaboulton HF staff commited on
Commit
ac62d98
1 Parent(s): a6d6f98

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -64,7 +64,8 @@ with gr.Blocks() as demo:
64
  Then run the following command
65
 
66
  ```python
67
- grc.Client.duplicate("gradio-discord-bots/gpt-35-turbo", private=False, secrets={"OPENAI_API_KEY": "<your-key-here>"}).deploy_discord()
 
68
  """)
69
  with gr.Row(visible=False):
70
  interface.render()
 
64
  Then run the following command
65
 
66
  ```python
67
+ client = grc.Client.duplicate("gradio-discord-bots/gpt-35-turbo", private=False, secrets={"OPENAI_API_KEY": "<your-key-here>"})
68
+ client.deploy_discord(api_names=["chat"])
69
  """)
70
  with gr.Row(visible=False):
71
  interface.render()