Update app.py
Browse files
app.py
CHANGED
@@ -12,4 +12,4 @@ if hf_token is None or inference_endpoint is None:
|
|
12 |
|
13 |
secrets = {"HF_TOKEN": hf_token, "INFERENCE_ENDPOINT": inference_endpoint}
|
14 |
import gradio_client as grc
|
15 |
-
grc.Client("TeamTonic/coherebot").deploy_discord(to_id="predict")
|
|
|
12 |
|
13 |
secrets = {"HF_TOKEN": hf_token, "INFERENCE_ENDPOINT": inference_endpoint}
|
14 |
import gradio_client as grc
|
15 |
+
grc.Client("TeamTonic/coherebot", private=False, secrets=secrets, sleep_timeout=2880).deploy_discord(to_id=["predict"])
|