rathore11 commited on
Commit
6466771
·
verified ·
1 Parent(s): a580c90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,4 +1,4 @@
1
- import gradio as gr
2
 
3
  #gr.load("models/Qwen/Qwen2.5-Coder-32B-Instruct").launch()
4
  from huggingface_hub import InferenceClient
@@ -15,7 +15,7 @@ messages = [
15
  completion = client.chat.completions.create(
16
  model="Qwen/Qwen2.5-Coder-32B-Instruct",
17
  messages=messages,
18
- max_tokens=500
19
  )
20
 
21
  print(completion.choices[0].message)
 
1
+ #import gradio as gr
2
 
3
  #gr.load("models/Qwen/Qwen2.5-Coder-32B-Instruct").launch()
4
  from huggingface_hub import InferenceClient
 
15
  completion = client.chat.completions.create(
16
  model="Qwen/Qwen2.5-Coder-32B-Instruct",
17
  messages=messages,
18
+ max_tokens=2048
19
  )
20
 
21
  print(completion.choices[0].message)