demetz commited on
Commit
702327b
·
verified ·
1 Parent(s): 2bdbee6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
- client = InferenceClient("HuggingFaceH4/zephyr-7b-beta")
5
 
6
  def respond(message, history):
7
 
@@ -14,8 +14,8 @@ def respond(message, history):
14
 
15
  response = client.chat_completion(
16
  messages,
17
- max_tokens=10,
18
- temperature=0
19
  )
20
 
21
  return response['choices'][0]['message']['content'].strip()
 
1
  import gradio as gr
2
  from huggingface_hub import InferenceClient
3
 
4
+ client = InferenceClient("deepseek-ai/DeepSeek-R1-Distill-Qwen-32B")
5
 
6
  def respond(message, history):
7
 
 
14
 
15
  response = client.chat_completion(
16
  messages,
17
+ max_tokens=100,
18
+ temperature=1.2
19
  )
20
 
21
  return response['choices'][0]['message']['content'].strip()