Ramaravind commited on
Commit
3726189
·
verified ·
1 Parent(s): eb35479

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -2,12 +2,12 @@ import os
2
  from huggingface_hub import InferenceClient
3
 
4
  client = InferenceClient(
5
- provider="novita",
6
- api_key=os.environ["HF_API_TOKEN"],
7
  )
8
 
9
  stream = client.chat.completions.create(
10
- model="openai/gpt-oss-20b",
11
  messages=[],
12
  temperature=0.5,
13
  top_p=0.7,
 
2
  from huggingface_hub import InferenceClient
3
 
4
  client = InferenceClient(
5
+ provider="auto",
6
+ api_key=os.environ["HF_TOKEN"],
7
  )
8
 
9
  stream = client.chat.completions.create(
10
+ model="meta-llama/Llama-3.2-1B-Instruct",
11
  messages=[],
12
  temperature=0.5,
13
  top_p=0.7,