Update app.py
Browse files
app.py
CHANGED
|
@@ -11,5 +11,5 @@ if hf_token is None or inference_endpoint is None:
|
|
| 11 |
raise ValueError("HF_TOKEN or INFERENCE_ENDPOINT environment variable not set")
|
| 12 |
|
| 13 |
secrets = {"HF_TOKEN": hf_token, "INFERENCE_ENDPOINT": inference_endpoint}
|
| 14 |
-
|
| 15 |
-
|
|
|
|
| 11 |
raise ValueError("HF_TOKEN or INFERENCE_ENDPOINT environment variable not set")
|
| 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")
|