"Space isn't working because" {0}

#2
by safeer-ch - opened

Hello,

Firstly, thanks for creating this space!

I noticed that the space isn't working correctly because there is there is a runtime error.

It would be great if you could take a look at this because this space is being embedded on https://www.gradio.app.

Thanks!

from huggingface_hub import InferenceClient

client = InferenceClient(
provider="novita",
api_key="hf_xxxxxxxxxxxxxxxxxxxxxxxx",
)

completion = client.chat.completions.create(
model="deepseek-ai/DeepSeek-Prover-V2-671B",
messages=[
{
"role": "user",
"content": "What is the capital of France?"
}
],
)

print(completion.choices[0].message)

Sign up or log in to comment