Spaces:
Sleeping
Sleeping
forgot
Browse files
app.py
CHANGED
|
@@ -12,13 +12,13 @@ def respond(
|
|
| 12 |
temperature,
|
| 13 |
top_p,
|
| 14 |
model="Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
| 15 |
-
token
|
| 16 |
):
|
| 17 |
"""
|
| 18 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 19 |
"""
|
| 20 |
|
| 21 |
-
login(
|
| 22 |
client = InferenceClient(model)
|
| 23 |
messages = [
|
| 24 |
{
|
|
|
|
| 12 |
temperature,
|
| 13 |
top_p,
|
| 14 |
model="Qwen/Qwen3-Coder-480B-A35B-Instruct",
|
| 15 |
+
token,
|
| 16 |
):
|
| 17 |
"""
|
| 18 |
For more information on `huggingface_hub` Inference API support, please check the docs: https://huggingface.co/docs/huggingface_hub/v0.22.2/en/guides/inference
|
| 19 |
"""
|
| 20 |
|
| 21 |
+
login(token)
|
| 22 |
client = InferenceClient(model)
|
| 23 |
messages = [
|
| 24 |
{
|