DevNumb commited on
Commit
e37099a
·
verified ·
1 Parent(s): c76bd95

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -10,11 +10,7 @@ resp = client.chat.completions.create(
10
  model="kwaipilot/kat-coder-pro:free",
11
  messages=[
12
  {"role": "user", "content": "What is the meaning of life?"}
13
- ],
14
- extra_headers={
15
- "HTTP-Referer": "https://example.com",
16
- "X-Title": "MyApp"
17
- }
18
  )
19
 
20
  print(resp.choices[0].message["content"])
 
10
  model="kwaipilot/kat-coder-pro:free",
11
  messages=[
12
  {"role": "user", "content": "What is the meaning of life?"}
13
+ ]
 
 
 
 
14
  )
15
 
16
  print(resp.choices[0].message["content"])