Spaces:
Runtime error
Runtime error
Commit
•
ac62d98
1
Parent(s):
a6d6f98
Update app.py
Browse files
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>"})
|
|
|
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()
|